summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/rng.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-07-28 23:37:45 +0200
committerUros Majstorovic <majstor@majstor.org>2025-07-28 23:37:45 +0200
commitfc70c6f78f43dbeda91d47b2d2071d4da4082121 (patch)
treec104744b62d3ea2c1a4a05eaab8283f368215300 /fw/esp32/components/eos/rng.c
parent58f41971b1e801ad2fbcea08e5152afa2b18ca73 (diff)
upgrade to ESP-IDF v5; fixed SPI net and app protocoles; reimplemented power management;
Diffstat (limited to 'fw/esp32/components/eos/rng.c')
-rw-r--r--fw/esp32/components/eos/rng.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/esp32/components/eos/rng.c b/fw/esp32/components/eos/rng.c
index 3927df1..675a79c 100644
--- a/fw/esp32/components/eos/rng.c
+++ b/fw/esp32/components/eos/rng.c
@@ -1,4 +1,4 @@
-#include <esp_system.h>
+#include <esp_random.h>
#include <esp_log.h>
#include <esp_err.h>
@@ -26,6 +26,7 @@ rng_handler_fin:
void eos_rng_init(void) {
eos_net_set_handler(EOS_NET_MTYPE_RNG, rng_handler);
+
ESP_LOGI(TAG, "INIT");
}