Fix iMX builds
This commit is contained in:
parent
8fe512c7e9
commit
317b96e93a
|
@ -28,6 +28,7 @@
|
||||||
#include "shared-bindings/neopixel_write/__init__.h"
|
#include "shared-bindings/neopixel_write/__init__.h"
|
||||||
|
|
||||||
#include "common-hal/microcontroller/Pin.h"
|
#include "common-hal/microcontroller/Pin.h"
|
||||||
|
#include "supervisor/linker.h"
|
||||||
#include "supervisor/port.h"
|
#include "supervisor/port.h"
|
||||||
|
|
||||||
uint64_t next_start_raw_ticks = 0;
|
uint64_t next_start_raw_ticks = 0;
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SAMD_NEOPIXEL_WRITE_H
|
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_NEOPIXEL_WRITE_H
|
||||||
#define SAMD_NEOPIXEL_WRITE_H
|
#define MICROPY_INCLUDED_SHARED_BINDINGS_NEOPIXEL_WRITE_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -34,4 +34,4 @@
|
||||||
|
|
||||||
extern void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* gpio, uint8_t *pixels, uint32_t numBytes);
|
extern void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* gpio, uint8_t *pixels, uint32_t numBytes);
|
||||||
|
|
||||||
#endif
|
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_NEOPIXEL_WRITE_H
|
||||||
|
|
Loading…
Reference in New Issue