fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Revision:
28:797536a42b9f
Parent:
27:b31ea8d74f9e
Child:
29:1fb060aab1f8
--- a/task.h	Sat Jul 21 00:36:38 2018 +0000
+++ b/task.h	Sun Jul 22 16:25:25 2018 +0000
@@ -28,7 +28,7 @@
 #define CFG_LICK_DEBOUNCE   'l', (80)
 
 enum Mode {
-    Pair,
+    Condition,
     Report,
     Associate,
     Motion,
@@ -38,7 +38,7 @@
 struct ModeSelection: public config::CommandResponder
 {
     static const char CMD_ID_MODE;
-    static const char CMD_MODE_PAIR;
+    static const char CMD_MODE_CONDITION;
     static const char CMD_MODE_REPORT;
     static const char CMD_MODE_ASSOCIATE;
     static const char CMD_MODE_MOTION;
@@ -98,7 +98,7 @@
     
     Action              run;
     
-    explicit Task(const Mode& mode=Pair);
+    explicit Task(const Mode& mode=Condition);
     
     void parseFromSerial();