diff options
-rw-r--r-- | fw/esp32/components/eos/cell_sms.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fw/esp32/components/eos/cell_sms.c b/fw/esp32/components/eos/cell_sms.c index cf18201..eeb80a5 100644 --- a/fw/esp32/components/eos/cell_sms.c +++ b/fw/esp32/components/eos/cell_sms.c @@ -211,8 +211,7 @@ void eos_cell_sms_handler(unsigned char mtype, unsigned char *buffer, uint16_t s eos_net_free(buf); } else { len++; - eos_net_free(buf); - // eos_net_send(EOS_NET_MTYPE_CELL, buf, len); + eos_net_send(EOS_NET_MTYPE_CELL, buf, len); } } while (1); eos_modem_give(); |