Skip to content

Commit c1c5a4c

Browse files
committed
removed unused variable on Pro Micro build
1 parent fafd9cd commit c1c5a4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MicroChess.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,12 +1239,14 @@ void set_game_options()
12391239
// Display the statistics for the game and start another game.
12401240
void setup()
12411241
{
1242+
#if not ARDUINO_AVR_PROMICRO
12421243
// The baud rate we will be using
1243-
#ifndef ESP32
1244+
#if not ESP32
12441245
static long constexpr baud_rate = 1000000;
12451246
#else
12461247
static long constexpr baud_rate = 115200;
12471248
#endif
1249+
#endif
12481250

12491251
// Send out a message telling the user what baud rate to set their console to
12501252
// using each baud rate one at a time, so that our message will be seen no

0 commit comments

Comments
 (0)