mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/adxl345: use new driver params scheme
This commit is contained in:
parent
8a6bed72bd
commit
799d3309e8
@ -62,6 +62,9 @@ extern "C" {
|
||||
.rate = ADXL345_PARAM_RATE, \
|
||||
.full_res = ADXL345_PARAM_FULL_RES }
|
||||
#endif
|
||||
#ifndef ADXL345_SAUL_INFO
|
||||
#define ADXL345_SAUL_INFO { .name = "adxl345" }
|
||||
#endif
|
||||
/**@}*/
|
||||
|
||||
/**
|
||||
@ -77,9 +80,7 @@ static const adxl345_params_t adxl345_params[] =
|
||||
*/
|
||||
static const saul_reg_info_t adxl345_saul_info[] =
|
||||
{
|
||||
{
|
||||
.name = "adxl345"
|
||||
}
|
||||
ADXL345_SAUL_INFO
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user