changed action stop

This commit is contained in:
Kayman
2018-02-27 17:16:15 +09:00
parent 6fe214d9b0
commit 251b9c8e19
2 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class ActionDemo : public OPDemo
PlayAction = 1,
PauseAction = 2,
StopAction = 3,
ReadyAction = 4,
};
const int SPIN_RATE;

View File

@ -110,6 +110,8 @@ void ActionDemo::process()
stopMP3();
brakeAction();
play_status_ = ReadyAction;
break;
}
@ -118,6 +120,8 @@ void ActionDemo::process()
stopMP3();
stopAction();
play_status_ = ReadyAction;
break;
}