Updates to follow mbed SDK coding style guidelines.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: 53L0A1_Satellites_with_Interrupts_OS5 Display_53L0A1_OS5
Fork of X_NUCLEO_53L0A1 by
Diff: x_nucleo_53l0a1.h
- Revision:
- 16:98ce55ddbb1a
- Parent:
- 15:932d8b4e52c9
diff -r 932d8b4e52c9 -r 98ce55ddbb1a x_nucleo_53l0a1.h --- a/x_nucleo_53l0a1.h Tue Jun 20 16:00:31 2017 +0000 +++ b/x_nucleo_53l0a1.h Thu Jun 22 09:55:10 2017 +0000 @@ -149,7 +149,7 @@ * @param[in] &i2c device I2C to be used for communication * @return Pointer to the object instance */ - static X_NUCLEO_53L0A1 *Instance(DevI2C *ext_i2c); + static X_NUCLEO_53L0A1 *instance(DevI2C *ext_i2c); /** * @brief Creates a singleton object instance @@ -159,14 +159,14 @@ * @param[in] PinName gpio1_right the pin connected to right sensor INT * @return Pointer to the object instance */ - static X_NUCLEO_53L0A1 *Instance(DevI2C *ext_i2c, PinName gpio1_centre, + static X_NUCLEO_53L0A1 *instance(DevI2C *ext_i2c, PinName gpio1_centre, PinName gpio1_left, PinName gpio1_right); /** * @brief Initialize the board and sensors with deft values * @return 0 on success */ - int InitBoard(); + int init_board(); DevI2C *dev_i2c; VL53L0X *sensor_centre;