Firmware for HexBoard MIDI controller
Allow boot up, mmhmm
Zach DeCook 2022-12-17
parent ce9bfb3 · commit 93db8d3
-rw-r--r--HexBoard_V1.1.ino4
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();