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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/esp32/components/eos/gsm.c b/fw/esp32/components/eos/gsm.c
index 6ae73ee..9a0874a 100644
--- a/fw/esp32/components/eos/gsm.c
+++ b/fw/esp32/components/eos/gsm.c
@@ -7,8 +7,8 @@
#define DIVC(x,y) ((x) / (y) + ((x) % (y) != 0))
uint8_t pdu_getc(char *pdu) {
-
int ch;
+
sscanf(pdu, "%2X", &ch);
return ch;
}