Skip to content

Commit 4104cdb

Browse files
authored
MY_DEBUGDEVICE output (#1221)
1 parent d1805db commit 4104cdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/MySplashScreen.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
void displaySplashScreen(void)
2323
{
24-
#if !defined(MY_DISABLED_SERIAL)
24+
#if !defined(MY_DISABLED_SERIAL) && defined(MY_DEBUGDEVICE)
2525
static const uint8_t splashScreen[] PROGMEM = {
2626
0x20, 0x7C, 0x5F, 0x5c, 0x2F, 0x60, 0x2C, 0x0A, // substitution matrix
2727
0x07, 0x02, 0x20, 0x02, 0x20, 0xB2, 0x87, 0x10, 0x03, 0x40, 0x01, 0x20, 0x00, 0x24, 0x02, 0x22,
@@ -44,9 +44,9 @@ void displaySplashScreen(void)
4444
}
4545
const uint8_t rep = val > 7 ? val - 5 : 1;
4646
for (uint8_t c = 0; c<rep; c++) {
47-
MY_SERIALDEVICE.print(display);
47+
MY_DEBUGDEVICE.print(display);
4848
}
4949
}
50-
MY_SERIALDEVICE.println(F(MYSENSORS_LIBRARY_VERSION "\n"));
50+
MY_DEBUGDEVICE.println(F(MYSENSORS_LIBRARY_VERSION "\n"));
5151
#endif
5252
}

0 commit comments

Comments
 (0)