Skip to content

Commit

Permalink
removed motor temp offset and fixed bug in 60D header
Browse files Browse the repository at this point in the history
  • Loading branch information
Jfriesen222 committed Jul 27, 2020
1 parent 7e212b5 commit 75f9b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hwconf/hw_stormcore_60d.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mc_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 75f9b1c

Please sign in to comment.