Commit 78d35320 authored by muelmarc's avatar muelmarc
Browse files

merge

parents 3bc030c4 a474ae6f
......@@ -43,7 +43,7 @@ void saveCrazyflieDB() {
}
void loadCrazyflieDB() {
//
}
bool cmRead(CMRead::Request &request, CMRead::Response &response) {
......@@ -113,12 +113,12 @@ bool cmUpdate(CMUpdate::Request &request, CMUpdate::Response &response) {
bool cmCommand(CMCommand::Request &request, CMCommand::Response &response) {
switch(request.command) {
case CMD_SAVE: {
saveCrazyflieDB();
//writeCrazyflieDB(crazyflieDB);
return true;
}
case CMD_RELOAD: {
loadCrazyflieDB();
//crazyflieDB = readCrazyflieDB();
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment