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:
@@ -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