From 9922daf284be8776d7633690a796ca2133612bb1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Jun 2022 18:41:57 -0600 Subject: [PATCH] handle compiler stupidity with early return --- libs/surfaces/cc121/cc121.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/surfaces/cc121/cc121.cc b/libs/surfaces/cc121/cc121.cc index a71733e711..0b884554e3 100644 --- a/libs/surfaces/cc121/cc121.cc +++ b/libs/surfaces/cc121/cc121.cc @@ -656,6 +656,8 @@ CC121::map_recenable_state () onoff = blink_state; } break; + default: + return; /* stupid compilers */ } if (onoff != rec_enable_state) {