From 480ca5b203ef1f5fd51803f98b3f58eced7ae740 Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 16 Sep 2019 23:19:13 +0200 Subject: [PATCH] Small changes --- src/controller/ebike_app.c | 2 +- src/display/KT-LCD3/lcd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/ebike_app.c b/src/controller/ebike_app.c index 7a9e9a23..8bf4a3ed 100755 --- a/src/controller/ebike_app.c +++ b/src/controller/ebike_app.c @@ -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; diff --git a/src/display/KT-LCD3/lcd.c b/src/display/KT-LCD3/lcd.c index 81dbd8aa..6e9d6420 100644 --- a/src/display/KT-LCD3/lcd.c +++ b/src/display/KT-LCD3/lcd.c @@ -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; } }