add blinker debug
This commit is contained in:
		| @@ -8,6 +8,8 @@ | ||||
| #define ALIVE_H | ||||
|  | ||||
| #include "../xf/xf.h" | ||||
| #include "../board/led/led.h" | ||||
| #include "../middleware/blinker.h" | ||||
|  | ||||
| typedef enum { | ||||
|     STAL_INIT = 20, | ||||
| @@ -37,6 +39,8 @@ typedef struct { | ||||
|  | ||||
| typedef struct { | ||||
|     ALIVE_STATES state; | ||||
|     LED debugLed; | ||||
|     BLINKER debugBlinker; | ||||
|     bool isAlive; | ||||
|     bool checker; | ||||
|     bool sender; | ||||
| @@ -54,7 +58,7 @@ typedef struct { | ||||
|  * Initialize the ALIVE | ||||
|  * @param me the ALIVE itself | ||||
|  */ | ||||
| void ALIVE_init(ALIVE* me); | ||||
| void ALIVE_init(ALIVE* me, uint8_t led); | ||||
|  | ||||
| /** | ||||
|  * Start the ALIVE state machine for checker part | ||||
|   | ||||
		Reference in New Issue
	
	Block a user