Bayley Wang / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   FastPWM3 mbed

Files at this revision

API Documentation at this revision

Comitter:
bwang
Date:
Tue Feb 20 05:54:48 2018 +0000
Parent:
208:3f3fe99c73ad
Child:
210:f9b722cf8a2c
Commit message:
02/20/2018 00:54 - moved modes.cpp to correct location

Changed in this revision

CHANGELOG.txt Show annotated file Show diff for this revision Revisions of this file
Transforms/modes.cpp Show diff for this revision Revisions of this file
modes.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/CHANGELOG.txt	Wed Feb 14 04:16:41 2018 +0000
+++ b/CHANGELOG.txt	Tue Feb 20 05:54:48 2018 +0000
@@ -48,4 +48,5 @@
 02/11/2018 21:11 - further improvements to mode handling, output overrides and output disabling now live in their own functions
 02/11/2018 21:21 - cmd_exit() checks that motor is not running
 02/13/2017 20:33 - set serial RX interrupt to be lower priority than commutation interrupt
-02/13/2018 23:15 - cmd_flush() now works in all modes (otherwise the controller would only ever boot up in MODE_CFG)
\ No newline at end of file
+02/13/2018 23:15 - cmd_flush() now works in all modes (otherwise the controller would only ever boot up in MODE_CFG)
+02/20/2018 00:54 - moved modes.cpp to correct location
\ No newline at end of file
--- a/Transforms/modes.cpp	Wed Feb 14 04:16:41 2018 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-#include "prefs.h"
-
-bool mode_enables_logging() {
-    switch(BREMS_mode) {
-    case MODE_RUN:
-        return true;
-    case MODE_CFG:
-    case MODE_ZERO:
-    case MODE_CHR:
-        return false;
-    default:
-        return false;
-    }
-}
-
-bool mode_enables_output() {
-    switch(BREMS_mode) {
-    case MODE_RUN:
-    case MODE_ZERO:
-    case MODE_CHR:
-        return true;
-    case MODE_CFG:
-        return false;
-    default:
-        return false;
-    }
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modes.cpp	Tue Feb 20 05:54:48 2018 +0000
@@ -0,0 +1,27 @@
+#include "prefs.h"
+
+bool mode_enables_logging() {
+    switch(BREMS_mode) {
+    case MODE_RUN:
+        return true;
+    case MODE_CFG:
+    case MODE_ZERO:
+    case MODE_CHR:
+        return false;
+    default:
+        return false;
+    }
+}
+
+bool mode_enables_output() {
+    switch(BREMS_mode) {
+    case MODE_RUN:
+    case MODE_ZERO:
+    case MODE_CHR:
+        return true;
+    case MODE_CFG:
+        return false;
+    default:
+        return false;
+    }
+}
\ No newline at end of file