Skip to content

Commit

Permalink
Add missing new line on log output for host example
Browse files Browse the repository at this point in the history
  • Loading branch information
Johboh committed Dec 29, 2023
1 parent abcb6b9 commit 33c5f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/espidf/host/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ EspNowHost::FirmwareUpdateAvailable _firmware_update_available = [](uint64_t mac

EspNowHost::OnLog _on_log = [](const std::string message, const esp_log_level_t log_level) {
// Callback for logging. Can be omitted.
esp_log_write(log_level, TAG, "EspNowNode: %s", message.c_str());
esp_log_write(log_level, TAG, "EspNowNode: %s\n", message.c_str());
};

EspNowCrypt _esp_now_crypt(esp_now_encryption_key, esp_now_encryption_secret);
Expand Down

0 comments on commit 33c5f51

Please sign in to comment.