Skip to content

Commit

Permalink
Clear stock- emergency if CoverUI get unplugged
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehaenger authored and ClemensElflein committed Mar 11, 2024
1 parent 87cdaad commit 267df89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Firmware/LowLevel/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ void loop() {
status_message.status_bitmask &= ~LL_STATUS_BIT_UI_AVAIL;
ui_version = 0;
ui_get_version_respond_timeout = 0;
stock_ui_emergency_state = 0; // Ensure that a stock-emergency state doesn't remain active if the UI got unplugged
}
if (now > ui_get_version_next_millis)
{
Expand Down

0 comments on commit 267df89

Please sign in to comment.