make all possible functions const
This commit is contained in:
@@ -120,7 +120,7 @@ void TestMode::abortManeuver() {
|
||||
this->abort = true;
|
||||
}
|
||||
|
||||
uint8_t TestMode::getRemainingManeuverTime() {
|
||||
uint8_t TestMode::getRemainingManeuverTime() const {
|
||||
if (busy)
|
||||
return (uint8_t) ((this->maneuverTime - (millis() - this->actionStart)) / 1000);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user