Skip to content

Commit

Permalink
fix(color): channel monitor crash when changing from logical switch v…
Browse files Browse the repository at this point in the history
…iew (#5740)
  • Loading branch information
philmoz authored Dec 28, 2024
1 parent 47cba22 commit 8b1e9c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions radio/src/gui/colorlcd/mainview/view_logical_switches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class LogicalSwitchDisplayFooter : public Window

void refresh()
{
if (deleted()) return;

LogicalSwitchData* ls = lswAddress(lsIndex);
uint8_t lsFamily = lswFamily(ls->func);

Expand Down

0 comments on commit 8b1e9c9

Please sign in to comment.