From 1279697f9f3f1e1541761ea82436ba61d03defac Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 29 Oct 2018 17:07:35 +0100 Subject: [PATCH] tests/driver_mma8x5x: adapt README with type param removal --- tests/driver_mma8x5x/Makefile | 2 +- tests/driver_mma8x5x/README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/driver_mma8x5x/Makefile b/tests/driver_mma8x5x/Makefile index e9fc4637be..ffce5c5dae 100644 --- a/tests/driver_mma8x5x/Makefile +++ b/tests/driver_mma8x5x/Makefile @@ -1,6 +1,6 @@ include ../Makefile.tests_common -USEMODULE += mma8x5x +USEMODULE += mma8x5x # will work with all variants USEMODULE += xtimer include $(RIOTBASE)/Makefile.include diff --git a/tests/driver_mma8x5x/README.md b/tests/driver_mma8x5x/README.md index e94a61c2f0..11c3bc3694 100644 --- a/tests/driver_mma8x5x/README.md +++ b/tests/driver_mma8x5x/README.md @@ -3,14 +3,13 @@ This is a manual test application for the MMA8x5x accelerometer driver. # Usage This test application will initialize the MMA8x5x sensor with the following parameters: - - default device type: MMA8652 - full scale parameter set to +/-2 g - 200 Hz output data-rate To change these parameters, you can override them by setting their corresponding defines in your build environment, e.g. ```bash -CFLAGS=-DMMA8X5X_PARAM_TYPE=MMA8X5X_TYPE_MMA8451 make ... +CFLAGS=-DMMA8X5X_PARAM_ADDR=0x1d make ... ``` See RIOT/drivers/mma8x5x_params.h for the default configuration.