From 4c0526ce0c30eec82cdb567295bbe56412d4066d Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 23 Nov 2017 13:59:03 +0100 Subject: [PATCH] Sonar fix - test use `[[fallthrough]];` instead of `// no break` --- radio/src/gui/480x272/menu_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/480x272/menu_model.cpp b/radio/src/gui/480x272/menu_model.cpp index b0ec425e9..c595be026 100644 --- a/radio/src/gui/480x272/menu_model.cpp +++ b/radio/src/gui/480x272/menu_model.cpp @@ -118,7 +118,7 @@ void editName(coord_t x, coord_t y, char * name, uint8_t size, event_t event, ui killEvents(event); break; } - // no break + [[fallthrough]]; case EVT_KEY_LONG(KEY_LEFT): case EVT_KEY_LONG(KEY_RIGHT):