diff --git a/examples/USB_desc/USB_desc.ino b/examples/USB_desc/USB_desc.ino index cda8505c..8341c503 100644 --- a/examples/USB_desc/USB_desc.ino +++ b/examples/USB_desc/USB_desc.ino @@ -104,7 +104,11 @@ void loop() Usb.ForEachUsbDevice(&PrintAllDescriptors); Usb.ForEachUsbDevice(&PrintAllAddresses); - while ( 1 ); //stop + while ( 1 ) { // stop +#ifdef ESP8266 + yield(); // needed in order to reset the watchdog timer on the ESP8266 +#endif + } } }