|
|
@@ -94,7 +94,7 @@ static u32 _app_report_task(void *p) {
|
|
|
can_report_phase_voltage(0x45);
|
|
|
if (++loop % 10 == 0) {
|
|
|
can_report_pid_value(0x45, PID_TRQ_id);
|
|
|
- sys_debug("max exec time %d, %d\n", g_meas_foc.exec_max_time, get_motor_temp());
|
|
|
+ sys_debug("max exec time %d, %d\n", g_meas_foc.exec_max_error_time, g_meas_foc.exec_time);
|
|
|
sys_debug("sat = %d, %d, %d\n", PMSM_FOC_Get()->pi_id->is_sat, PMSM_FOC_Get()->pi_iq->is_sat, PMSM_FOC_Get()->pi_speed->is_sat);
|
|
|
}
|
|
|
return 500;
|