Fix iMX builds

This commit is contained in:
Scott Shawcroft 2020-03-31 17:00:30 -07:00
parent 8fe512c7e9
commit 317b96e93a
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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