From 6a4b3ef0e72ee134b81a523ce41fd4c45f3b4429 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 4 Sep 2022 18:43:50 +0200 Subject: fixed wifi and cell --- fw/esp32/components/eos/gsm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fw/esp32/components/eos/gsm.c') 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; + } } } } -- cgit v1.2.3