Skip to content

Commit 21c713d

Browse files
authored
Merge pull request #51 from Zondax/swap
2 parents b889553 + ec9fc8f commit 21c713d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

app/common/app_main.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,13 @@ void app_init() {
135135
USB_power(1);
136136

137137
app_mode_reset();
138+
#ifdef HAVE_SWAP
139+
if (!G_swap_state.called_from_swap) {
140+
view_idle_show(0, NULL);
141+
}
142+
#else
138143
view_idle_show(0, NULL);
144+
#endif // HAVE_SWAP
139145

140146
#ifdef HAVE_BLE
141147
// Enable Bluetooth

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 2
20+
#define ZXLIB_PATCH 3

0 commit comments

Comments
 (0)