.
This commit is contained in:
@ -3147,6 +3147,8 @@ int LocalHdl(int mode, void *base, int fd) {
|
||||
} else if (mode==COC_WR) {
|
||||
remoteMode = 1 + (local == 0);
|
||||
return RemoteHdl(mode, base, fd);
|
||||
} else if (mode==COC_DWR) {
|
||||
return RemoteHdl(mode, base, fd);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -3289,6 +3291,7 @@ int main(int argc, char *argv[]) {
|
||||
CocStrFld(SensorT, type, RD);
|
||||
|
||||
CocDefStr(maxPower, RW); CocHdl(MaxPowerHdl);
|
||||
CocDefFlt(maxPowerFlt, RD);
|
||||
CocDefFlt(slope, RW); CocHdl(MaxPowerHdl);
|
||||
CocDefFlt(prop, RW); CocHdl(PidHdl);
|
||||
CocDefFlt(integ, RW); CocHdl(PidHdl);
|
||||
|
Reference in New Issue
Block a user