motor_status = FOCMotorStatus::motor_calib_failed; SIMPLEFOC_DEBUG("MOT: Init FOC error, current sense not initialized"); exit_flag =0; }else{ exit_flag *=alignCurrentSense(); //aligning the current sensor - can be skipped //checks if driver phases are the same as current sense phases...