Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_6180XA1 by
Diff: Components/Interfaces/LightSensor.h
- Revision:
- 12:71d589e6fd2c
- Parent:
- 4:a5abf7757947
- Child:
- 38:18abb7f7dcb2
diff -r 88541229403e -r 71d589e6fd2c Components/Interfaces/LightSensor.h
--- a/Components/Interfaces/LightSensor.h Tue Oct 06 09:43:25 2015 +0200
+++ b/Components/Interfaces/LightSensor.h Tue Oct 13 14:22:45 2015 +0200
@@ -54,7 +54,7 @@
* @param[out] piData Pointer to where to store light to
* @return 0 in case of success, an error code otherwise
*/
- //virtual int GetLight(int *piData) = 0;
+ virtual int GetLight(uint32_t *piData) = 0;
};
#endif /* __LIGHT_SENSOR_CLASS_H */
