Fix for unix build

This commit is contained in:
Tsutomu IKEGAMI 2022-02-16 23:00:45 +09:00
parent b0b3c7817f
commit 44b545850a

View File

@ -28,7 +28,12 @@
#include "py/smallint.h"
#include "py/pairheap.h"
#include "py/mphal.h"
#if 0 // causes error for unix build
#include "shared-bindings/supervisor/__init__.h"
#else
extern mp_obj_t supervisor_ticks_ms(void);
#endif
#if MICROPY_PY_UASYNCIO