mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[bench] Sleep, Stop and Stanby commands
This commit is contained in:
22
ion/src/device/bench/command/standby.cpp
Normal file
22
ion/src/device/bench/command/standby.cpp
Normal 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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user