move headers to __init__.h
This commit is contained in:
parent
79d9c9cd56
commit
8fa81fe003
@ -53,8 +53,4 @@ typedef struct {
|
||||
void pixelbuf_recalculate_brightness(pixelbuf_pixelbuf_obj_t *self);
|
||||
void call_write_function(pixelbuf_pixelbuf_obj_t *self);
|
||||
|
||||
|
||||
#include "common-hal/digitalio/DigitalInOut.h"
|
||||
extern void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* gpio, uint8_t *pixels, uint32_t numBytes);
|
||||
|
||||
#endif // CP_SHARED_BINDINGS_PIXELBUF_PIXELBUF_H
|
||||
|
@ -27,9 +27,11 @@
|
||||
#ifndef CP_SHARED_BINDINGS_PIXELBUF_INIT_H
|
||||
#define CP_SHARED_BINDINGS_PIXELBUF_INIT_H
|
||||
|
||||
#include "common-hal/digitalio/DigitalInOut.h"
|
||||
|
||||
STATIC void pixelbuf_byteorder_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind);
|
||||
const int32_t colorwheel(float pos);
|
||||
|
||||
const mp_obj_type_t pixelbuf_byteorder_type;
|
||||
extern void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* gpio, uint8_t *pixels, uint32_t numBytes);
|
||||
|
||||
#endif //CP_SHARED_BINDINGS_PIXELBUF_INIT_H
|
||||
|
Loading…
Reference in New Issue
Block a user