Skip to content

Commit

Permalink
forgotten bluepill
Browse files Browse the repository at this point in the history
  • Loading branch information
askuric committed Jun 16, 2024
1 parent 67248d8 commit 69eb707
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void* _driverSyncLowSide(void* _driver_params, void* _cs_params){
Stm32CurrentSenseParams* cs_params = (Stm32CurrentSenseParams*)_cs_params;

// if compatible timer has not been found
if (cs_params->timer_handle == NULL) return;
if (cs_params->timer_handle == NULL) return SIMPLEFOC_CURRENT_SENSE_INIT_FAILED;

// stop all the timers for the driver
_stopTimers(driver_params->timers, 6);
Expand Down

0 comments on commit 69eb707

Please sign in to comment.