mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #8695 from aabadie/pr/drivers/params/mpu9150
sys/auto_init: cleanup in mpu9150 auto_init
This commit is contained in:
commit
cafc33ce92
@ -29,7 +29,7 @@
|
|||||||
/**
|
/**
|
||||||
* @brief Define the number of configured sensors
|
* @brief Define the number of configured sensors
|
||||||
*/
|
*/
|
||||||
#define MPU9150_NUM (sizeof(mpu9150_params)/sizeof(mpu9150_params[0]))
|
#define MPU9150_NUM (sizeof(mpu9150_params) / sizeof(mpu9150_params[0]))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Allocate memory for the device descriptors
|
* @brief Allocate memory for the device descriptors
|
||||||
@ -44,10 +44,10 @@ static saul_reg_t saul_entries[MPU9150_NUM * 3];
|
|||||||
/**
|
/**
|
||||||
* @brief Define the number of saul info
|
* @brief Define the number of saul info
|
||||||
*/
|
*/
|
||||||
#define MPU9150_INFO_NUM (sizeof(mpu9150_saul_info)/sizeof(mpu9150_saul_info[0]))
|
#define MPU9150_INFO_NUM (sizeof(mpu9150_saul_info) / sizeof(mpu9150_saul_info[0]))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Reference the driver structs
|
* @name Reference the driver structs
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
extern saul_driver_t mpu9150_saul_acc_driver;
|
extern saul_driver_t mpu9150_saul_acc_driver;
|
||||||
|
Loading…
Reference in New Issue
Block a user