Respond to instigation whenever possible.
This commit is contained in:
parent
c034427c3c
commit
26cb24dfe1
6 changed files with 16 additions and 6 deletions
|
@ -68,7 +68,7 @@ static void Initializing_Do(StateMachineContext_T * context)
|
|||
{
|
||||
switch (Event.ID)
|
||||
{
|
||||
case KEVENT_TRIGGER_SWITCH_PRESSED:
|
||||
case KEVENT_ACCESSORY_SWITCH_PRESSED:
|
||||
Transition_For_Event(context, STATE_REPROGRAMMING, &Event);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue