Skip to content

Commit 51bc881

Browse files
Enable BOLOS_UX_DELAY_LOCK for Apps
1 parent 3f281e5 commit 51bc881

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/os_ux.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ typedef struct bolos_ux_params_s {
6060
} pairing_ok;
6161
} pairing_status; // sent in BOLOS_UX_ASYNCHMODAL_PAIRING_CANCEL message
6262
#endif // HAVE_BLE
63+
struct { // for BOLOS_UX_DELAY_LOCK command
64+
uint32_t delay_ms;
65+
} lock_delay;
6366
} u;
6467
#endif // defined(HAVE_BLE) || defined(HAVE_KEYBOARD_UX)
6568
} bolos_ux_params_t;

include/os_ux_id.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ typedef enum bolos_ux_public_e {
1717
// current pairing request
1818
BOLOS_UX_ASYNCHMODAL_PAIRING_CANCEL,
1919
BOLOS_UX_IO_RESET,
20+
BOLOS_UX_DELAY_LOCK, // delay the power-off/lock timer
2021
NB_BOLOS_UX_IDS
2122
} bolos_ux_public_t;

0 commit comments

Comments
 (0)