Include bsp headers for timers.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-04-21 12:03:01 +02:00
parent cc78469c01
commit dfeb5b973b
7 changed files with 13 additions and 15 deletions

View File

@@ -17,17 +17,13 @@
#include "picokeys.h"
#include "hwrng.h"
#include "pico_time.h"
#if defined(PICO_PLATFORM)
#include "bsp/board.h"
#include "pico/rand.h"
#elif defined(ESP_PLATFORM)
#include "bootloader_random.h"
#include "esp_random.h"
#include "compat/esp_compat.h"
#else
#include <time.h>
#include "compat/board.h"
#endif
static void hwrng_start(void) {