mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-12 22:32:51 +02:00
Merge send_recv example into hello_world
This commit is contained in:
@ -51,7 +51,7 @@ void sendMessages(void* pvParameter)
|
||||
TTNResponseCode res = ttn.transmitMessage(msgData, sizeof(msgData) - 1);
|
||||
printf(res == kTTNSuccessfulTransmission ? "Message sent.\n" : "Transmission failed.\n");
|
||||
|
||||
vTaskDelay(TX_INTERVAL * 1000 / portTICK_PERIOD_MS);
|
||||
vTaskDelay(TX_INTERVAL * pdMS_TO_TICKS(1000));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user