diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-12-17 11:40:34 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-12-17 11:40:34 -0500 |
| commit | 93db8d35a298a24d9fb853b539de73598e38ec65 (patch) | |
| tree | 043919742a7ce280776a564e8596729ad3b6ce8a /HexBoard_V1.1.ino | |
| parent | ce9bfb3e5d027252c5c0c37ec1c4645b98e393e1 (diff) | |
| download | HexBoard-93db8d35a298a24d9fb853b539de73598e38ec65.tar.gz | |
Allow boot up, mmhmm
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(); |
