Firmware for HexBoard MIDI controller
Diffstat (limited to 'HexBoard_V1.1.ino')
| -rw-r--r-- | HexBoard_V1.1.ino | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HexBoard_V1.1.ino b/HexBoard_V1.1.ino index 7741d76..82669a2 100644 --- a/HexBoard_V1.1.ino +++ b/HexBoard_V1.1.ino @@ -283,8 +283,8 @@ void setup() { setupMenu(); menu.drawMenu(); - // wait until device mounted - while (!TinyUSBDevice.mounted()) delay(1); + // wait until device mounted, maybe + for (int i=0; i<5 && !TinyUSBDevice.mounted();i++) delay(1); // Print diagnostic troubleshooting information to serial monitor diagnosticTest(); |