no message

This commit is contained in:
TrashGod 2024-06-28 21:44:33 +08:00
parent 5240b83578
commit f0c905baa9
1 changed files with 3 additions and 7 deletions

View File

@ -28,7 +28,7 @@ typedef struct ParentFSM
*/ */
typedef enum _State typedef enum _State
{ {
Idle, /**< 必须在开头,并且枚举值=0 */ Idle, /**< 必须在开头,并且枚举值=0,表示空状态 */
A, A,
B, B,
C, C,
@ -119,14 +119,10 @@ static void actionFcn(exit, C)()
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* 转移函数 */ /* 转移函数 */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
static void transitionGeneralAction(FSM pFSM){ static void transitionGeneralAction(ParentFSMData *data){
// FSM_LOG("general"); FSM_LOG("general");
} }
// static void transitionGeneralAction(TemplateFSMData *data){
// FSM_LOG("general");
// }
static void transitionHandler(Idle, A)() static void transitionHandler(Idle, A)()
{ {
FSM_LOG(" Idle2A "); FSM_LOG(" Idle2A ");