1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-16 06:45:48 +00:00

[api] Streamline some log strings (#8962)

This commit is contained in:
Keith Burzinski
2025-06-03 15:53:32 -05:00
committed by GitHub
parent 8054c9b4f5
commit 4f87bea788
2 changed files with 15 additions and 16 deletions

View File

@@ -780,7 +780,7 @@ extern "C" {
// declare how noise generates random bytes (here with a good HWRNG based on the RF system)
void noise_rand_bytes(void *output, size_t len) {
if (!esphome::random_bytes(reinterpret_cast<uint8_t *>(output), len)) {
ESP_LOGE(TAG, "Failed to acquire random bytes, rebooting!");
ESP_LOGE(TAG, "Acquiring random bytes failed; rebooting");
arch_restart();
}
}