diff --git a/libmtrmgr/src/mtrmgr.c b/libmtrmgr/src/mtrmgr.c index e838be6..1be9126 100644 --- a/libmtrmgr/src/mtrmgr.c +++ b/libmtrmgr/src/mtrmgr.c @@ -119,6 +119,7 @@ bool blrsMotorSet(int port, int commanded, bool immediate) { return false; } motorSet(port + 1, commanded * motor[port].inverted); + motor[port]._prev = commanded * motor[port].inverted; mutexGive(mutex[port]); } motor[port].cmd = commanded * motor[port].inverted;