diff --git a/hwconf/hw_stormcore_60d.h b/hwconf/hw_stormcore_60d.h index b144dd99..3f7a038c 100644 --- a/hwconf/hw_stormcore_60d.h +++ b/hwconf/hw_stormcore_60d.h @@ -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 diff --git a/mc_interface.c b/mc_interface.c index dea599a7..b1dc8bde 100644 --- a/mc_interface.c +++ b/mc_interface.c @@ -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);