xx

Files at this revision

API Documentation at this revision

Comitter:
gr91
Date:
Sat Feb 27 06:52:37 2021 +0000
Parent:
5:4943b15cce9f
Commit message:
xx

Changed in this revision

Drivers/BSP/STM32L476G-Discovery/stm32l476g_discovery_gyroscope.c Show annotated file Show diff for this revision Revisions of this file
diff -r 4943b15cce9f -r e1b1de1039d2 Drivers/BSP/STM32L476G-Discovery/stm32l476g_discovery_gyroscope.c
--- a/Drivers/BSP/STM32L476G-Discovery/stm32l476g_discovery_gyroscope.c	Tue Sep 24 18:00:58 2019 +0200
+++ b/Drivers/BSP/STM32L476G-Discovery/stm32l476g_discovery_gyroscope.c	Sat Feb 27 06:52:37 2021 +0000
@@ -103,8 +103,7 @@
     L3GD20_InitStructure.Band_Width = L3GD20_BANDWIDTH_4;
     L3GD20_InitStructure.BlockData_Update = L3GD20_BlockDataUpdate_Continous;
     L3GD20_InitStructure.Endianness = L3GD20_BLE_LSB;
-    L3GD20_InitStructure.Full_Scale = L3GD20_FULLSCALE_500;
-
+    L3GD20_InitStructure.Full_Scale = L3GD20_FULLSCALE_2000;
     /* Configure MEMS: data rate, power mode, full scale and axes */
     ctrl = (uint16_t)(L3GD20_InitStructure.Power_Mode | L3GD20_InitStructure.Output_DataRate | \
                       L3GD20_InitStructure.Axes_Enable | L3GD20_InitStructure.Band_Width);