mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
23 lines
293 B
C++
23 lines
293 B
C++
#include "command.h"
|
|
#include <ion.h>
|
|
|
|
namespace Ion {
|
|
namespace Device {
|
|
namespace Bench {
|
|
namespace Command {
|
|
|
|
void Suspend(const char * input) {
|
|
if (input != nullptr) {
|
|
reply(sSyntaxError);
|
|
return;
|
|
}
|
|
reply(sOK);
|
|
Ion::Timing::msleep(100);
|
|
Ion::Power::suspend();
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|