[bench] Sleep, Stop and Stanby commands

This commit is contained in:
Léa Saviot
2019-04-05 14:29:55 +02:00
parent 169b239552
commit d737a76acc
6 changed files with 55 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
#include "command.h"
#include <ion.h>
namespace Ion {
namespace Device {
namespace Bench {
namespace Command {
void Standby(const char * input) {
if (input != nullptr) {
reply(sSyntaxError);
return;
}
reply(sOK);
Ion::Timing::msleep(100);
//Ion::Power::standby(); TODO Decomment once the method exists
}
}
}
}
}