Enhanced deep sleep example

This commit is contained in:
Manuel Bl
2021-09-29 19:40:57 +02:00
parent 31b00f05a8
commit 9fd24c65ec
3 changed files with 19 additions and 5 deletions

View File

@ -105,7 +105,7 @@ void app_main(void)
// ttn_set_max_tx_pow(14);
printf("Joining...\n");
if (ttn_join_provisioned())
if (ttn_join())
{
printf("Joined.\n");
xTaskCreate(sendMessages, "send_messages", 1024 * 4, (void* )0, 3, NULL);