1
0
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:
Alexandre Abadie 2018-02-28 16:15:53 +01:00
parent 8a6bed72bd
commit 799d3309e8

View File

@ -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