Skip to content

Commit

Permalink
Fix error return (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros authored Nov 4, 2024
1 parent 3d4ec19 commit 194acad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions app/ui/view_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ static void h_blindsign_toggle();
static void h_blindsign_update();
#endif

static void ui_idle();
static void h_shortcut(unsigned int);
static void run_ux_review_flow(review_type_e reviewType, const ux_flow_step_t* const start_step);
const ux_flow_step_t *ux_review_flow[MAX_REVIEW_UX_SCREENS];
Expand Down Expand Up @@ -174,7 +173,7 @@ UX_FLOW(
UX_STEP_CB(
ux_warning_blind_sign_step,
pnn,
ui_idle(),
h_error_accept(0),
{
&C_icon_crossmark,
"Blind signing must be",
Expand Down Expand Up @@ -215,14 +214,6 @@ UX_STEP_CB_INIT(ux_review_flow_5_step, pb, NULL, h_shortcut(0), { &C_icon_eye,
//////////////////////////
//////////////////////////

void ui_idle(void) {
// reserve a display stack slot if none yet
if (G_ux.stack_count == 0) {
ux_stack_push();
}
ux_flow_init(0, ux_idle_flow, NULL);
}

void h_review_update() {
zxerr_t err = h_review_update_data();
switch(err) {
Expand Down
2 changes: 1 addition & 1 deletion include/zxversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

#define ZXLIB_MAJOR 29
#define ZXLIB_MINOR 4
#define ZXLIB_PATCH 1
#define ZXLIB_PATCH 2

0 comments on commit 194acad

Please sign in to comment.