File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ typedef struct bolos_ux_params_s {
24
24
bolos_ux_t ux_id ;
25
25
// length of parameters in the u union to be copied during the syscall.
26
26
unsigned int len ;
27
-
28
- #if defined(HAVE_BLE ) || defined(HAVE_KEYBOARD_UX )
29
27
union {
28
+ #if defined(HAVE_BLE ) || defined(HAVE_KEYBOARD_UX )
30
29
// Structure for the lib ux.
31
30
#if defined(HAVE_KEYBOARD_UX )
32
31
struct {
@@ -65,11 +64,11 @@ typedef struct bolos_ux_params_s {
65
64
} pairing_ok ;
66
65
} pairing_status ; // sent in BOLOS_UX_ASYNCHMODAL_PAIRING_STATUS message
67
66
#endif // HAVE_BLE
67
+ #endif // defined(HAVE_BLE) || defined(HAVE_KEYBOARD_UX)
68
68
struct { // for BOLOS_UX_DELAY_LOCK command
69
69
uint32_t delay_ms ;
70
70
} lock_delay ;
71
71
} u ;
72
- #endif // defined(HAVE_BLE) || defined(HAVE_KEYBOARD_UX)
73
72
} bolos_ux_params_t ;
74
73
75
74
#endif // !defined(HAVE_BOLOS)
You can’t perform that action at this time.
0 commit comments