kubtss / Mbed 2 deprecated BIRD2017

Dependencies:   mbed-rtos mbed

Revision:
22:c85649ff834b
Parent:
21:b1419813f2d4
Child:
26:a53c3208ac35
--- a/Init.cpp	Sun Jun 19 12:53:16 2016 +0000
+++ b/Init.cpp	Sun Jun 19 13:00:10 2016 +0000
@@ -25,8 +25,6 @@
                 std::string command = strbuf.substr(0,strbuf.size()-2);
                 setting(command);       
             }
-            //ここで,ニュートラル情報をLocalFileに保存
-            Global::filewrite();
             strbuf.clear();
         }
         if(strbuf.size() > 30)strbuf.clear();
@@ -106,6 +104,10 @@
         
     }else if(command == "show"){
         showParam();
+        
+    }else if(command == "write"){
+        //ここで,ニュートラル情報をLocalFileに保存
+        Global::filewrite();
                                         
     }else{
         printf("Invalid Input\n");