pointer as auto declaration
This commit is contained in:
+1
-2
@@ -151,8 +151,7 @@ PID* MoveControl::getPID(uint8_t side) const {
|
||||
return this->left_pid;
|
||||
else if (side == 1)
|
||||
return this->right_pid;
|
||||
else
|
||||
return nullptr;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void MoveControl::setSpeedometerDirection(Speedometer *speedometer, double value) {
|
||||
|
||||
Reference in New Issue
Block a user