summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/gsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/esp32/components/eos/gsm.c')
-rw-r--r--fw/esp32/components/eos/gsm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fw/esp32/components/eos/gsm.c b/fw/esp32/components/eos/gsm.c
index 9a0874a..920e121 100644
--- a/fw/esp32/components/eos/gsm.c
+++ b/fw/esp32/components/eos/gsm.c
@@ -56,7 +56,7 @@ void gsm_dcs_dec(uint8_t dcs, uint8_t *enc, uint16_t *flags) {
switch (group) {
case GSM_DCS_MWI_DISCARD:
case GSM_DCS_MWI_STORE_GSM7:
- case GSM_DCS_MWI_STORE_UCS2:
+ case GSM_DCS_MWI_STORE_UCS2: {
if (group == GSM_DCS_MWI_STORE_UCS2) {
*enc = GSM_ENC_UCS2;
} else {
@@ -66,12 +66,14 @@ void gsm_dcs_dec(uint8_t dcs, uint8_t *enc, uint16_t *flags) {
*flags |= GSM_FLAG_MWI;
*flags |= (uint16_t)(dcs & (GSM_DCS_MWI_SENSE | GSM_DCS_MWI_TYPE)) << 12;
break;
+ }
- case GSM_DCS_ENCLASS:
+ case GSM_DCS_ENCLASS: {
*flags |= GSM_FLAG_CLASS;
*flags |= (uint16_t)(dcs & GSM_DCS_CLASS) << 8;
*enc = dcs & GSM_DCS_ENCLASS_ENC ? GSM_ENC_8BIT : GSM_ENC_7BIT;
break;
+ }
}
}
}