Skip to content

Commit e72da99

Browse files
committed
Fix gyro log in Flight1v2
1 parent 412d026 commit e72da99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/Flight1v2/Flight1v2.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ class Flight1Service {
299299
STORE_LE_16(mBuff + 4, Mag[1]);
300300
STORE_LE_16(mBuff + 6, Mag[2]);
301301

302-
AXIS_X = (Gyros[0]) * 10;
303-
AXIS_Y = (Gyros[1]) * 10;
304-
AXIS_Z = (Gyros[2]) * 10;
302+
AXIS_X = (Gyros[0]) / 100;
303+
AXIS_Y = (Gyros[1]) / 100;
304+
AXIS_Z = (Gyros[2]) / 100;
305305

306306
STORE_LE_16(gBuff, millis());
307307
STORE_LE_16(gBuff + 2, AXIS_X);

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=STM32duino FP_Examples
2-
version=1.6.1
2+
version=1.6.2
33
author=STMicroelectronics
44
maintainer=stm32duino
55
sentence=Provides several Function Packs that combine the usage of several X-NUCLEO boards

0 commit comments

Comments
 (0)