Blame view

build1/epsilon-master/ion/src/device/bench/command/suspend.cpp 285 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #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::msleep(100);
    Ion::Power::suspend();
  }
  
  }
  }
  }
  }