clangtidy corrections part 1
This commit is contained in:
@@ -31,7 +31,6 @@ struct DriveModiParams {
|
||||
*/
|
||||
class DriveModi : public Component {
|
||||
public:
|
||||
DriveModi();
|
||||
virtual ~DriveModi();
|
||||
|
||||
const SensorData* getSensorData() const { return this->sensorData; }
|
||||
@@ -46,12 +45,14 @@ class DriveModi : public Component {
|
||||
protected:
|
||||
virtual void afterActivate() {}
|
||||
|
||||
MoveControl *moveControl;
|
||||
MoveControl *moveControl = nullptr;
|
||||
DrivingSpeeds maxSpeeds = {1, 7};
|
||||
const ControlPadInput* input;
|
||||
const SensorData* sensorData;
|
||||
const ControlPadInput* input = nullptr;
|
||||
const SensorData* sensorData = nullptr;
|
||||
|
||||
private:
|
||||
void init();
|
||||
void init();
|
||||
|
||||
static constexpr uint8_t defaultDelay = 40;
|
||||
};
|
||||
#endif // DRIVEMODI_H
|
||||
|
||||
Reference in New Issue
Block a user