adafruit / Adafruit_TCS34725

Arduino library driver for Adafruit's TCS34725 RGB Color Sensor Breakout
http://www.adafruit.com/products/1334
Other
149 stars 149 forks source link

Solves warning about uncertain initialisation #5

Closed dewi-ny-je closed 9 years ago

dewi-ny-je commented 9 years ago

The assignment of the variable was typed twice in the ternary conditional operator and this causes the compiler to warn about potential missing initialisation.