[api] Streamline some log strings (#8962)
This commit is contained in:
1 parent
8054c9b4f5
commit
4f87bea788
2 files changed
+15
-16
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user