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) {
63
63
}
64
64
65
65
// init hardware pins
66
- void BLDCMotor::init () {
66
+ int BLDCMotor::init () {
67
67
if (!driver || !driver->initialized ) {
68
68
motor_status = FOCMotorStatus::motor_init_failed;
69
69
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) {
33
33
}
34
34
35
35
// init hardware pins
36
- void StepperMotor::init () {
36
+ int StepperMotor::init () {
37
37
if (!driver || !driver->initialized ) {
38
38
motor_status = FOCMotorStatus::motor_init_failed;
39
39
SIMPLEFOC_DEBUG (" MOT: Init not possible, driver not initialized" );
You can’t perform that action at this time.
0 commit comments