BV OLED: only test OLED screen in debug mode

This commit is contained in:
King Kévin 2018-02-16 13:12:39 +01:00
parent ba5dfece98
commit 0e4628532d
1 changed files with 2 additions and 0 deletions

View File

@ -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
};
}