moved variable to inner scope
This commit is contained in:
@@ -110,8 +110,6 @@ static void *display_thread(void *arg) {
|
||||
lcd_set_custom_char(&lcd, 4, &(lcd_glyph_t){4, 4, 4, 21, 14, 4, 0}); // down arrow
|
||||
lcd_set_custom_char(&lcd, 5, &(lcd_glyph_t){0, 0, 15, 21, 21, 17, 15, 0}); // home (tilde)
|
||||
|
||||
const char modes[] = "QBP";
|
||||
|
||||
/* main display loop */
|
||||
applog(LOG_START, "reached display main loop");
|
||||
while (control.g_running) { // NOLINT its updated globally bud
|
||||
@@ -123,6 +121,7 @@ static void *display_thread(void *arg) {
|
||||
|
||||
{
|
||||
// prepare some tricky sensors
|
||||
const char modes[] = "QBP";
|
||||
const uint16_t avg_fan_speed = (sensors->aio.fan_speed[0] + sensors->aio.fan_speed[1]) / 2;
|
||||
|
||||
char gpudelta[5];
|
||||
|
||||
Reference in New Issue
Block a user