You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several messages like these appeared during compilation:
error: variable ‘usbDescriptorStringVendor’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
PROGMEM int usbDescriptorStringVendor[] = {
By adding 'const' to the definitions in usbdrv.h and usbdrv.c, the compilation completes normally, as shown below:
PROGMEM const int usbDescriptorStringVendor[] = {
The text was updated successfully, but these errors were encountered:
Several messages like these appeared during compilation:
error: variable ‘usbDescriptorStringVendor’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
PROGMEM int usbDescriptorStringVendor[] = {
By adding 'const' to the definitions in usbdrv.h and usbdrv.c, the compilation completes normally, as shown below:
PROGMEM const int usbDescriptorStringVendor[] = {
The text was updated successfully, but these errors were encountered: