mon / Arduino-USB-Rename

Programatically rename a USB based Arduino
MIT License
24 stars 4 forks source link

expected class-name before '{' token #1

Closed rponweb closed 2 years ago

rponweb commented 2 years ago

In file included from C:\p***\2022\Arduino\usbRename\usbRename.ino:1:0: C:\Users\Administrator\Documents\Arduino\libraries\Arduino-USB-Rename-master/usb_rename.h:3:45: error: expected class-name before '{' token class USBRename : public PluggableUSBModule { ^ C:\Users\Administrator\Documents\Arduino\libraries\Arduino-USB-Rename-master/usb_rename.h:10:23: error: 'USBSetup' has not been declared int getDescriptor(USBSetup& setup); ^~~~ C:\Users\Administrator\Documents\Arduino\libraries\Arduino-USB-Rename-master/usb_rename.h:11:16: error: 'USBSetup' has not been declared bool setup(USBSetup& setup); ^~~~ exit status 1 Error compiling for board Arduino Uno.

mon commented 2 years ago

Sorry, but this library is for USB native arduinos such as the Leonardo. The uno is not compatible.