From ec7fd3875d8e0699a92d7d75b504df9afa4a5cdc Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 28 Apr 2013 09:56:08 +0200 Subject: digital/io-hub/src/apbirthday: add FSM transitions debug stat --- digital/io-hub/src/common-cc/fsm.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'digital/io-hub/src/common-cc') diff --git a/digital/io-hub/src/common-cc/fsm.hh b/digital/io-hub/src/common-cc/fsm.hh index 300ea62f..dd4f1b77 100644 --- a/digital/io-hub/src/common-cc/fsm.hh +++ b/digital/io-hub/src/common-cc/fsm.hh @@ -30,14 +30,12 @@ extern "C" { } #ifdef TARGET_host +typedef unsigned State; typedef unsigned Branch; -#else -typedef angfsm_AI_branch_t Branch; -#endif - -#ifdef TARGET_host typedef uint16_t Event; #else +typedef angfsm_AI_state_t State; +typedef angfsm_AI_branch_t Branch; typedef angfsm_AI_event_t Event; #endif -- cgit v1.2.3