Closed pearsomark closed 11 months ago
Thanks for the report, I am currently out of the office, but as soon as I can I will look for a solution.
Guglielmo
Back in office ... .cpp corrected with a small fix to ensure that strlcpy() is not used only if ARDUINO_ARCH_RENESAS is declared.
Please verify that it works correctly with Teensy 4.1, thanks. ;-)
Guglielmo
Thanks, the mod fixes the issue with the Teensy 4.1
Mark
Hi, Using Arduino ide 2.2.1 and v1.1.4 of the library, the usb device is reinitialized about every 5 seconds on a Teensy 4.1, there are no issues with a Teensy 3.6.
The problem is fixed by changing strncpy back to strlcpy in SerialCmd::SerialCmd ( Stream &mySerial, char TermCh, char * SepCh ).
Simple test program
This is the repeated message in the ide console