QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
25:b7f861fc8ddd
Parent:
24:e65416d6de22
--- a/mavcommands.h	Tue Apr 22 14:15:27 2014 +0000
+++ b/mavcommands.h	Tue Apr 22 14:18:30 2014 +0000
@@ -76,6 +76,6 @@
     void handleNextCmd();
     void setupCmds();
     void setup(){if(!initialized){setupCmds();initialized=true;}}
-    void run(){handleNextCmd();}
+    void run(){setup();handleNextCmd();}
     static MavCmd& get(){if(mavcmd==NULL){mavcmd=new MavCmd();}return *mavcmd;}
 };