diff --git a/firmware/hw_layer/stepper.h b/firmware/hw_layer/stepper.h index 128afc6dc6..b79aa431ce 100644 --- a/firmware/hw_layer/stepper.h +++ b/firmware/hw_layer/stepper.h @@ -49,8 +49,8 @@ public: void step(bool positive) override; private: - DcMotor* m_motorPhaseA; - DcMotor* m_motorPhaseB; + DcMotor* m_motorPhaseA = nullptr; + DcMotor* m_motorPhaseB = nullptr; uint8_t m_phase = 0; };