Skip to content

Commit

Permalink
Merge pull request #338 from XPila/RELEASE-4.0.5
Browse files Browse the repository at this point in the history
fix - crash after tune button/printing_serial clicked (BFW-731)
  • Loading branch information
XPila authored Apr 1, 2020
2 parents 78f2cfe + 0a608ea commit 16928c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/screen_printing_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ int screen_printing_serial_event(screen_t *screen, window_t *window, uint8_t eve
if (event == WINDOW_EVENT_BTN_DN) {
screen_open(pscreen_menu_tune->id);
lock = 0;
return 0; //here MUST BE return. Screen is no longer valid.
return 1; //here MUST BE return 1. Screen is no longer valid.
}

int now = HAL_GetTick();
Expand Down

0 comments on commit 16928c5

Please sign in to comment.