diff --git a/tecs/tecs.c b/tecs/tecs.c index 05a24bc..4ef3501 100644 --- a/tecs/tecs.c +++ b/tecs/tecs.c @@ -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);