Skip to content

Commit 1474bb9

Browse files
authored
Merge pull request #52 from Zondax/feat-swap
2 parents 21c713d + 3d216ec commit 1474bb9

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

app/common/app_main.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ void app_init() {
145145

146146
#ifdef HAVE_BLE
147147
// Enable Bluetooth
148+
#ifdef HAVE_SWAP
149+
if (G_swap_state.called_from_swap) {
150+
memset(&G_io_asynch_ux_callback, 0, sizeof(G_io_asynch_ux_callback));
151+
}
152+
#endif // HAVE_SWAP
148153
BLE_power(0, NULL);
149154
BLE_power(1, "Nano X");
150155
#endif // HAVE_BLE

include/zxversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
#define ZXLIB_MAJOR 16
1919
#define ZXLIB_MINOR 0
20-
#define ZXLIB_PATCH 3
20+
#define ZXLIB_PATCH 4

0 commit comments

Comments
 (0)