Skip to content

Commit

Permalink
diy: fix initialising wallet on device without camera or Bluetooth
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Aug 3, 2023
1 parent 34a909a commit 3656ce2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/process/dashboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,10 @@ static void select_initial_connection(const bool offer_qr_temporary)
gui_activity_t* const act_confirm_qr_mode
= (act_select && offer_qr_temporary) ? make_confirm_qrmode_activity() : NULL;

// If no BLE and no camera/QR-scan (ie. no selection screen created) then assume USB
initialisation_source = act_select ? SOURCE_NONE : SOURCE_SERIAL;
show_connect_screen = initialisation_source != SOURCE_NONE;

while (initialisation_source == SOURCE_NONE) {
gui_set_current_activity(act);

Expand Down

0 comments on commit 3656ce2

Please sign in to comment.