make all possible functions const

This commit is contained in:
2023-08-18 11:44:10 +02:00
parent 11d21e2e89
commit 4cd2b9368d
18 changed files with 33 additions and 52 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class Speedometer : public Component {
*
* @return Direction
*/
Direction getDirection() { return this->currentDirection; }
Direction getDirection() const { return this->currentDirection; }
/**
* @brief Get the calculated speed of the Wheel