Commit be14e9b1 authored by Abdelali Elaazzouzi's avatar Abdelali Elaazzouzi

add init command

parent 0612d73d
......@@ -110,7 +110,7 @@ void PIC867Driver::execute(const std::string& aCommand) {
} else if (aCommand == COMMAND_RESET) {
// Stop command
startActivated = false;
currentState->reset();
currentState->init();
} else if (aCommand == driver::STOP_COMMAND) {
// Stop command
startActivated = false;
......
# Commands
PIC867.writeParam=Write Param
PIC867.manualMove=Manual Move
PIC867.init=Init
PIC867.stop=Stop
PIC867.versionPrefix=version:
......
......@@ -24,6 +24,7 @@
<newLine/>
<newLine/>
<button role="PIC8671" command="writeParam" prefix="PIC867.writeParam"/>
<button role="PIC8671" command="reset" prefix="PIC867.init"/>
<summary>
......
Markdown is supported
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