From 33b1b76a0b830e30428d53111d4eafd7dad4a510 Mon Sep 17 00:00:00 2001
From: Luca Erbetta <luca.erbetta105@gmail.com>
Date: Sun, 31 Mar 2019 15:41:50 +0200
Subject: [PATCH] [Mpu9255] Decreased sample rate - Added release entrypoint

---
 sbs.conf                  | 8 ++++++++
 src/shared/SharedConfig.h | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/sbs.conf b/sbs.conf
index 90a0f35..ae7f4dd 100644
--- a/sbs.conf
+++ b/sbs.conf
@@ -173,6 +173,14 @@ Include:	%logger %shared %heli-board %pwm
 Defines:    -DDEBUG
 Main:       heli-entry
 
+[heli-entry-release]
+Type:       board
+BoardId:    stm32f429zi_skyward_rogallina
+BinName:    heli-entry
+Include:	%logger %shared %heli-board %pwm
+Defines:    
+Main:       heli-entry
+
 [tests-catch]
 Type:       test
 BoardId:    stm32f429zi_skyward_rogallina
diff --git a/src/shared/SharedConfig.h b/src/shared/SharedConfig.h
index 72df0ab..d178856 100644
--- a/src/shared/SharedConfig.h
+++ b/src/shared/SharedConfig.h
@@ -44,7 +44,7 @@
 /*
  * Sensor settings
  */
-static const int IMU_SAMPLE_RATE   = 200;
+static const int IMU_SAMPLE_RATE   = 150;
 static const int GPS_SAMPLE_RATE   = 5;
 static const int PRESS_SAMPLE_RATE = 50;
 
-- 
GitLab