Fix conditional build for non-pico platforms.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
cff3f8f677
commit
70c0c1bf81
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ static void (*card_locked_func)(void) = NULL;
|
|||
static mutex_t mutex;
|
||||
extern void usb_desc_setup();
|
||||
#endif
|
||||
#if !defined(PICO_PLATFORM) && !defined(ENABLE_EMULATION)
|
||||
#if !defined(PICO_PLATFORM) && !defined(ENABLE_EMULATION) && !defined(ESP_PLATFORM)
|
||||
#include <pthread.h>
|
||||
pthread_t hcore0, hcore1;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue