mirror of https://github.com/rusefi/bldc.git
removed motor temp offset and fixed bug in 60D header
This commit is contained in:
parent
7e212b58d4
commit
75f9b1cdd0
|
@ -212,7 +212,7 @@
|
|||
#define V_REG 3.3
|
||||
#endif
|
||||
#ifndef VIN_R1
|
||||
#define VIN_R1 68000.0
|
||||
#define VIN_R1 39000.0
|
||||
#endif
|
||||
#ifndef VIN_R2
|
||||
#define VIN_R2 2200.0
|
||||
|
|
|
@ -1922,7 +1922,7 @@ static void update_override_limits(volatile motor_if_state_t *motor, volatile mc
|
|||
float lo_max_mot = l_current_max_tmp;
|
||||
if (motor->m_temp_motor < conf->l_temp_motor_start) {
|
||||
// Keep values
|
||||
} else if (motor->m_temp_motor > (conf->l_temp_motor_end + 10.0)) { // only fault if 10 degrees over max do give some cushion for noisey sensors
|
||||
} else if (motor->m_temp_motor > conf->l_temp_motor_end) { // only fault if 10 degrees over max do give some cushion for noisey sensors
|
||||
lo_min_mot = 0.0;
|
||||
lo_max_mot = 0.0;
|
||||
mc_interface_fault_stop(FAULT_CODE_OVER_TEMP_MOTOR, !is_motor_1, false);
|
||||
|
|
Loading…
Reference in New Issue