Abstraction for the glider class
Diff: Glider.cpp
- Revision:
- 18:a4fbe3ce0f16
- Parent:
- 16:7e1a1cd9f9fb
- Child:
- 19:9bdc2b081b16
--- 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; }