make all possible functions const
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user