Closed basevers closed 6 years ago
Please rename the variable "index" in file https://github.com/webusb/arduino/blob/gh-pages/demos/rgb/sketch/sketch.ino#L11 as it causes a compile error when using SAMD
Per this: https://github.com/arduino/ArduinoCore-samd/issues/299 "index" is a keyword in libc.
fixed in:
Please rename the variable "index" in file https://github.com/webusb/arduino/blob/gh-pages/demos/rgb/sketch/sketch.ino#L11 as it causes a compile error when using SAMD
Per this: https://github.com/arduino/ArduinoCore-samd/issues/299 "index" is a keyword in libc.