Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leon927 committed Sep 16, 2019
1 parent 1d1a736 commit 480ca5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controller/ebike_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ static void apply_cruise()
// reset PID variables
i16_error = 0;
i16_last_error = 0;
i16_integral = 300; // initialize integral to a value so the motor does not start from zero
i16_integral = 320; // initialize integral to a value so the motor does not start from zero
i16_derivative = 0;
i16_control_output = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/display/KT-LCD3/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3644,7 +3644,7 @@ void lcd_enable_temperature_farneight_symbol (uint8_t ui8_state)
if (ui8_state) { ui8_lcd_frame_buffer[9] |= 32; }
}

void lcd_enable_farneight_symbol (uint8_t ui8_state)
void lcd_enable_fahrenheit_symbol (uint8_t ui8_state)
{
if (ui8_state) { ui8_lcd_frame_buffer[9] |= 1; }
}
Expand Down

0 comments on commit 480ca5b

Please sign in to comment.