QState Blinky_off(Blinky * const me, QEvt const * const e) { QState status; switch (e->sig) { case Q_ENTRY_SIG: { BSP_ledOff(); status = Q_HANDLED(); break; } case TIMEOUT_SIG: { status = Q_TRAN(&Blinky_on); /*<== */ break; } default: { status = Q_SUPER(&QHsm_top); break; } } return status; }