mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 15:28:52 +08:00
controllib fix sign-compare
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
// delay starts at zero, then increases to LEN
|
||||
_delay += 1;
|
||||
|
||||
if (_delay > (LEN - 1)) {
|
||||
if (_delay > (int)(LEN - 1)) {
|
||||
_delay = LEN - 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user