Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Init.cpp
- 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");