forking microbit-dal
Dependencies: BLE_API mbed-dev-bin nRF51822-bluetooth-mdw
Fork of microbit-dal by
Diff: inc/drivers/MicroBitLightSensor.h
- Revision:
- 3:d86a4ddc1867
- Parent:
- 1:8aa5cdb4ab67
--- a/inc/drivers/MicroBitLightSensor.h Thu Apr 07 00:55:10 2016 +0000 +++ b/inc/drivers/MicroBitLightSensor.h Thu Apr 07 11:59:16 2016 +0100 @@ -48,7 +48,7 @@ { //contains the results from each section of the display - int results[MICROBIT_LIGHT_SENSOR_CHAN_NUM] = { 0 }; + int results[MICROBIT_LIGHT_SENSOR_CHAN_NUM]; //holds the current channel (also used to index the results array) uint8_t chan; @@ -134,4 +134,4 @@ ~MicroBitLightSensor(); }; -#endif +#endif \ No newline at end of file