Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: HbEngine.cpp
- Revision:
- 36:2cc739c7e4cb
- Parent:
- 35:3779201b4c73
- Child:
- 38:24ee50452755
--- a/HbEngine.cpp	Tue Dec 25 08:20:17 2018 +0000
+++ b/HbEngine.cpp	Wed Jan 16 10:51:07 2019 +0000
@@ -20,6 +20,20 @@
     fpgaEngine(id,iVal);
 }
 
+void HbEngine::setHoverAccel(INT16 val){
+    hvAxl = val;
+    bSetHvAxl = true;
+}
+
+void HbEngine::clearHoverAccel(){
+    hvAxl = 0;
+    bSetHvAxl = false;
+}
+
+bool HbEngine::chkSetHoverAccel(){
+    return bSetHvAxl;
+}
+
 bool HbEngine::chkOverIDLECycle(){
     return rpm > IDLE_HI;
 }