webusb / arduino

WebUSB demos running on Arduino (and compatible) hardware.
580 stars 154 forks source link

Rename Variable "index" #45

Closed basevers closed 6 years ago

basevers commented 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.

basevers commented 6 years ago

fixed in: