BV OLED: only test OLED screen in debug mode
This commit is contained in:
parent
ba5dfece98
commit
0e4628532d
|
@ -338,7 +338,9 @@ void busvoodoo_oled_setup(void)
|
|||
busvoodoo_oled_clear(); // clean display buffer
|
||||
busvoodoo_oled_present = oled_ssd1306_setup(); // setup OLED display
|
||||
if (busvoodoo_oled_present) {
|
||||
#if DEBUG
|
||||
oled_ssd1306_test(); // test OLED display
|
||||
#endif
|
||||
busvoodoo_oled_update(); // send display buffer
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue