Skip to content

Commit

Permalink
reset unlocked_last on saturation
Browse files Browse the repository at this point in the history
  • Loading branch information
knifter committed Aug 22, 2023
1 parent 56b2b10 commit f25f773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dualpid/src/pidloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ void PIDLoop::calculate()
if(!res)
{
_status = STATUS_ERROR;
_unlocked_last = now;
return;
};

Expand Down

0 comments on commit f25f773

Please sign in to comment.