mirror of
https://github.com/Utyff/Zintercom.git
synced 2026-01-12 09:17:41 +03:00
some work on ring and btn events
This commit is contained in:
@@ -20,7 +20,8 @@ extern "C" {
|
||||
#define APP_SAVE_ATTRS_EVT 0x0002
|
||||
#define APP_BTN_CLICK_EVT 0x0004
|
||||
#define APP_RING_RUN_EVT 0x0008
|
||||
|
||||
#define APP_BTN_HOLD_EVT 0x0010
|
||||
|
||||
/*********************************************************************
|
||||
* MACROS
|
||||
*/
|
||||
@@ -109,6 +110,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
WorkState_t State;
|
||||
uint8 RingRunStep;
|
||||
uint32 pressTime;
|
||||
} device_state_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user