Skip to content

Commit 50c8d9b

Browse files
authored
Merge pull request #23 from pennam/sms-index
SMS add index initialization
2 parents e973e01 + 624af63 commit 50c8d9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/ArduinoCellular.h

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class SMS {
7070
* @param timestamp The timestamp when the SMS was received.
7171
*/
7272
SMS(int16_t index, String sender, String message, Time timestamp) {
73+
this->index = index;
7374
this->sender = sender;
7475
this->message = message;
7576
this->timestamp = timestamp;

0 commit comments

Comments
 (0)