webusb/arduino

Rename Variable "index"

basevers opened this issue · 1 comments

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:
arduino/ArduinoCore-samd#299
"index" is a keyword in libc.

fixed in: