From 624af6381b682fe2b7ed0240f2997762e04cfeca Mon Sep 17 00:00:00 2001 From: pennam Date: Mon, 3 Jun 2024 16:09:59 +0200 Subject: [PATCH] SMS add index initialization --- src/ArduinoCellular.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ArduinoCellular.h b/src/ArduinoCellular.h index f810b7d..a04707e 100644 --- a/src/ArduinoCellular.h +++ b/src/ArduinoCellular.h @@ -70,6 +70,7 @@ class SMS { * @param timestamp The timestamp when the SMS was received. */ SMS(int16_t index, String sender, String message, Time timestamp) { + this->index = index; this->sender = sender; this->message = message; this->timestamp = timestamp;