Velocity Closed Loop Dynamic error correction

Dependencies:   mbed QEI PID DmTftLibraryEx

Revision:
15:ed7ed20b7114
Parent:
8:c0a5f53fe196
Child:
17:a0bbfc228415
--- a/Display/Menu.cpp	Thu Aug 17 10:22:32 2017 +0000
+++ b/Display/Menu.cpp	Fri Aug 18 08:26:13 2017 +0000
@@ -19,6 +19,7 @@
 #include "GpsMax7.h"
 #include "DemoApplication.h"
 #include "SX9306.h"
+#include "main.h"
 
 
 /*!
@@ -1121,8 +1122,7 @@
             case PAGE_UTILITIES:
                 if( graphObjectTouched == BTN0_BORDER )
                 {
-                    EepromSetDefaultSettings( );
-                    EepromLoadSettings( ( RadioPacketTypes_t )Eeprom.EepromData.DemoSettings.ModulationType );
+                    FactoryReset( );
                     MenuSetPage( START_PAGE );
                 }
                 else if( graphObjectTouched == BTN4_BORDER )