diff --git a/libraries/Desktop/support/main.cpp b/libraries/Desktop/support/main.cpp index 57dc7d618d..2cf78b335a 100644 --- a/libraries/Desktop/support/main.cpp +++ b/libraries/Desktop/support/main.cpp @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include "desktop.h" void setup(void); @@ -47,7 +49,7 @@ int main(int argc, char * const argv[]) desktop_state.slider = true; break; case 'w': - unlink("eeprom.bin"); + AP_Param::erase_all(); unlink("dataflash.bin"); break; case 'r':