Skip to content

Commit

Permalink
Increased motor check time
Browse files Browse the repository at this point in the history
  • Loading branch information
emmebrusa committed Jul 7, 2024
1 parent 607b204 commit ad782fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ebike_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ static void check_system(void)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// E09 ERROR_MOTOR_CHECK (E08 blinking for XH18)
// E09 shared with ERROR_WRITE_EEPROM
#define MOTOR_CHECK_TIME_GOES_ALONE_TRESHOLD 60 // 60 * 100ms = 6.0 seconds
#define MOTOR_CHECK_TIME_GOES_ALONE_TRESHOLD 80 // 80 * 100ms = 8.0 seconds
#define MOTOR_CHECK_ERPS_THRESHOLD 20 // 20 ERPS
static uint8_t ui8_riding_torque_mode = 0;
static uint8_t ui8_motor_check_time_goes_alone = 0;
Expand Down

0 comments on commit ad782fd

Please sign in to comment.