File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void BLDCMotor::linkDriver(BLDCDriver* _driver) {
6363}
6464
6565// init hardware pins
66- void BLDCMotor::init () {
66+ int BLDCMotor::init () {
6767 if (!driver || !driver->initialized ) {
6868 motor_status = FOCMotorStatus::motor_init_failed;
6969 SIMPLEFOC_DEBUG (" MOT: Init not possible, driver not initialized" );
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void StepperMotor::linkDriver(StepperDriver* _driver) {
3333}
3434
3535// init hardware pins
36- void StepperMotor::init () {
36+ int StepperMotor::init () {
3737 if (!driver || !driver->initialized ) {
3838 motor_status = FOCMotorStatus::motor_init_failed;
3939 SIMPLEFOC_DEBUG (" MOT: Init not possible, driver not initialized" );
You can’t perform that action at this time.
0 commit comments