mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 00:51:25 +02:00
Include bsp headers for timers.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -17,11 +17,10 @@
|
||||
|
||||
#include "picokeys.h"
|
||||
#include "serial.h"
|
||||
#include "pico_time.h"
|
||||
#ifndef ENABLE_EMULATION
|
||||
#include "tusb.h"
|
||||
#if defined(PICO_PLATFORM)
|
||||
#include "bsp/board.h"
|
||||
#elif defined(ESP_PLATFORM)
|
||||
#if defined(ESP_PLATFORM)
|
||||
static portMUX_TYPE mutex = portMUX_INITIALIZER_UNLOCKED;
|
||||
#endif
|
||||
#else
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
#include "usb.h"
|
||||
#include "led/led.h"
|
||||
#include "button.h"
|
||||
#include "pico_time.h"
|
||||
#if defined(PICO_PLATFORM)
|
||||
#include "pico/bootrom.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "hardware/sync.h"
|
||||
#include "bsp/board.h"
|
||||
#define multicore_launch_func_core1(a) multicore_launch_core1((void (*) (void))a)
|
||||
#endif
|
||||
#include "apdu.h"
|
||||
|
||||
Reference in New Issue
Block a user