We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcdec30 commit eb03a69Copy full SHA for eb03a69
src/LoggerBase.cpp
@@ -785,7 +785,7 @@ void Logger::systemSleep(void) {
785
786
#if defined ARDUINO_ARCH_SAMD
787
788
-#ifndef USE_TINYUSB&& defined(USBCON)
+#if not defined(USE_TINYUSB) && defined(USBCON)
789
// Detach the USB, iff not using TinyUSB
790
MS_DEEP_DBG(F("Detaching USB"));
791
Serial.flush(); // wait for any outgoing messages on Serial = USB
@@ -896,7 +896,7 @@ void Logger::systemSleep(void) {
896
SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk;
897
#endif
898
// Reattach the USB
899
900
USBDevice.init();
901
USBDevice.attach();
902
0 commit comments