Velocity Closed Loop Dynamic error correction

Dependencies:   mbed QEI PID DmTftLibraryEx

Revision:
5:a0f5842fb337
Parent:
2:8ebe57eb273a
Child:
8:c0a5f53fe196
diff -r e9daf4ed7b4c -r a0f5842fb337 Display/Menu.cpp
--- a/Display/Menu.cpp	Mon Mar 27 17:57:48 2017 +0000
+++ b/Display/Menu.cpp	Mon Apr 03 14:58:51 2017 +0000
@@ -598,6 +598,9 @@
                 else if( graphObjectTouched == BTN9_BORDER )
                 {
                     Eeprom.EepromData.DemoSettings.HoldDemo = true;
+                    // "SETTINGS" button can occure without "START"/"STOP" button
+                    // also "SETTINGS" should stop the demo
+                    StopDemoApplication( );
                     // "CANCEL" or "OK & SAVE" button of PAGE_RADIO_PARAM use
                     // PreviousPage to set next page. Speed up the navigation.
                     PreviousPage = PAGE_RANGING_SLAVE;