Skip to content

Commit

Permalink
PTC_1K_100C was modified to 25C by mistake, restored
Browse files Browse the repository at this point in the history
  • Loading branch information
ddosoff committed Jan 14, 2020
1 parent 2fa512b commit 539a0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mc_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ static void update_override_limits(volatile mc_configuration *conf) {
break;
case TEMP_SENSOR_PTC_1K_100C:
{
float temp = PTC_TEMP_MOTOR(1010.0, conf->m_ptc_motor_coeff, 25);
float temp = PTC_TEMP_MOTOR(1000.0, conf->m_ptc_motor_coeff, 100);

if (UTILS_IS_NAN(temp) || UTILS_IS_INF(temp) || temp > 600.0) {
temp = 180.0;
Expand Down

0 comments on commit 539a0ca

Please sign in to comment.