mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-03 07:04:53 -04:00
Fixed console mode display rendering on landscape displays
This commit is contained in:
parent
38c251353f
commit
2eca4a5334
2 changed files with 10 additions and 7 deletions
|
@ -327,6 +327,9 @@ void update_stat_area() {
|
|||
display.drawBitmap(p_as_x, p_as_y, bm_updating, stat_area.width(), stat_area.height(), SSD1306_BLACK, SSD1306_WHITE);
|
||||
} else if (console_active && device_init_done) {
|
||||
display.drawBitmap(p_as_x, p_as_y, bm_console, stat_area.width(), stat_area.height(), SSD1306_BLACK, SSD1306_WHITE);
|
||||
if (disp_mode == DISP_MODE_LANDSCAPE) {
|
||||
display.drawLine(p_as_x, 0, p_as_x, 64, SSD1306_WHITE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue