File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ #define HAVE_SPRINTF
1
2
#define HAVE_LOCAL_APDU_BUFFER
2
3
#define IO_HID_EP_LENGTH 64
3
4
#define USB_SEGMENT_SIZE 64
Original file line number Diff line number Diff line change 11
11
#include "checks.h"
12
12
#ifdef HAVE_BLE
13
13
#include "ledger_ble.h"
14
+ bolos_ux_asynch_callback_t G_io_asynch_ux_callback ;
14
15
#endif
15
16
16
17
extern void sample_main ();
@@ -302,7 +303,7 @@ int c_main(void) {
302
303
io_seproxyhal_spi_send (c , 4 );
303
304
#endif
304
305
305
- #ifdef HAVE_BLE
306
+ #ifdef HAVE_BLE
306
307
unsigned int plane = G_io_app .plane_mode ;
307
308
#endif
308
309
@@ -323,15 +324,16 @@ int c_main(void) {
323
324
#ifdef HAVE_CCID
324
325
io_usb_ccid_set_card_inserted (1 );
325
326
#endif
326
-
327
+
327
328
#ifdef HAVE_BLE
329
+ memset (& G_io_asynch_ux_callback , 0 , sizeof (G_io_asynch_ux_callback ));
328
330
LEDGER_BLE_init ();
329
331
#endif
330
332
331
333
#if !defined(HAVE_BOLOS ) && defined(HAVE_PENDING_REVIEW_SCREEN )
332
334
check_audited_app ();
333
335
#endif // !defined(HAVE_BOLOS) && defined(HAVE_PENDING_REVIEW_SCREEN)
334
-
336
+
335
337
heap_init ();
336
338
sample_main ();
337
339
}
You can’t perform that action at this time.
0 commit comments