Jake Greaves / Mbed OS AdiSense1000_V21
Revision:
17:fd5ab3d27b15
Parent:
12:97457cf77bcb
Child:
19:a6d4bdcffb84
--- a/spi0_adiAdxl362_config.c	Tue Dec 05 19:08:53 2017 +0000
+++ b/spi0_adiAdxl362_config.c	Fri Dec 15 22:41:44 2017 +0000
@@ -97,8 +97,8 @@
                 .spiChannelConfig = {
                     .sensor = ADI_SENSE_1000_SPI_SENSOR_ACCELEROMETER_ADI_ADXL362,
                     .configurationCommand = {
-                        .command = { 0x0A, 0x2C, 0x83, 0x02 }, /* +/-8G range */
-                        .commandLength = 4,
+                        .command = { 0x0A, 0x2C, 0x83 }, /* +/-8G range */
+                        .commandLength = 3,
                     },
                 },
             },