* refactored BaseChatMesh::sendMessage(), added timestamp param

Этот коммит содержится в:
Scott Powell
2025-01-29 02:11:46 +11:00
родитель fe306a311e
Коммит e53f0d0725
4 изменённых файлов: 9 добавлений и 8 удалений
+1 -1
Просмотреть файл
@@ -276,7 +276,7 @@ public:
if (memcmp(command, "send ", 5) == 0) {
if (curr_recipient) {
const char *text = &command[5];
int result = sendMessage(*curr_recipient, 0, text, expected_ack_crc);
int result = sendMessage(*curr_recipient, getRTCClock()->getCurrentTime(), 0, text, expected_ack_crc);
if (result == MSG_SEND_FAILED) {
Serial.println(" ERROR: unable to send.");
} else {