diff options
Diffstat (limited to 'testex/STM32/STM32L4xx/SPI-L3GD20/main.c')
-rw-r--r-- | testex/STM32/STM32L4xx/SPI-L3GD20/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c index 693e0f0f7..168c9cffb 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c @@ -51,7 +51,7 @@ static L3GD20Config l3gd20cfg = { NULL,
L3GD20_FS_250DPS,
L3GD20_ODR_760HZ,
-#if L3GD20_GYRO_USE_ADVANCED
+#if L3GD20_USE_ADVANCED
L3GD20_BDU_CONTINUOUS,
L3GD20_END_LITTLE,
L3GD20_BW3,
@@ -125,4 +125,4 @@ int main(void) { cls(chp);
}
l3gd20Stop(&L3GD20D1);
-}
\ No newline at end of file +}
|