Skip to content

Commit

Permalink
Merge branch 'fix/log_output_error' into 'master'
Browse files Browse the repository at this point in the history
fix: fix log output error of security example

Closes AEGHB-650

See merge request ae_group/esp-now!124
  • Loading branch information
lhespress committed Jun 27, 2024
2 parents 90cd26a + b0b86cd commit a90124d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/security/main/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static void app_uart_read_task(void *arg)
ret = espnow_send(ESPNOW_DATA_TYPE_DATA, ESPNOW_ADDR_BROADCAST, data, size, &frame_head, portMAX_DELAY);
ESP_ERROR_CONTINUE(ret != ESP_OK, "<%s> espnow_send", esp_err_to_name(ret));

ESP_LOGI(TAG, "espnow_send, count: %" PRIu32 ", size: %u, %s data: %s", count++, size, s_sec_flag ? "plaintext" : "ciphertext", data);
ESP_LOGI(TAG, "espnow_send, count: %" PRIu32 ", size: %u, %s data: %s", count++, size, s_sec_flag ? "ciphertext" : "plaintext", data);
memset(data, 0, ESPNOW_DATA_LEN);
}

Expand Down

0 comments on commit a90124d

Please sign in to comment.