Merge pull request #481 from adafruit/dev2
remove the force Serial connected when debug is eanbled.
This commit is contained in:
2 files changed
+7
-7
No files matched your search
@@ -24,7 +24,11 @@ BLEBas blebas; // battery
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
// while ( !Serial ) delay(10); // for nrf52840 with native usb
|
||||
|
||||
#if CFG_DEBUG
|
||||
// Blocking wait for connection when debug mode is enabled via IDE
|
||||
while ( !Serial ) yield();
|
||||
#endif
|
||||
|
||||
Serial.println("Bluefruit52 BLEUART Example");
|
||||
Serial.println("---------------------------\n");
|
||||
|
||||
Reference in new issue
Block a user