Abstraction for the glider class

Dependents:   DropTest

Revision:
18:a4fbe3ce0f16
Parent:
16:7e1a1cd9f9fb
Child:
19:9bdc2b081b16
diff -r aa62b351af43 -r a4fbe3ce0f16 Glider.cpp
--- a/Glider.cpp	Tue May 16 15:31:39 2017 +0000
+++ b/Glider.cpp	Tue May 16 16:51:23 2017 +0000
@@ -126,11 +126,15 @@
                   break; 
             case CMD_RESET:  //'z' was recieved
                   xbee->printf("resetting save file...\r\n");
-                  
+                  /*
                   state = 0;
                   packetCount = 0;
                   startTime = 0;
                   saveData();
+                  */
+                  
+                  remove("/telem/data.txt");
+                  
                   break;
         }