File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
atmel-samd/common-hal/microcontroller
nrf/common-hal/microcontroller
shared-bindings/microcontroller Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 31
31
32
32
#include "peripherals/samd/pins.h"
33
33
34
- #ifdef MICROPY_HW_NEOPIXEL
35
- extern bool neopixel_in_use ;
36
- #endif
37
34
#ifdef MICROPY_HW_APA102_MOSI
38
35
extern bool apa102_sck_in_use ;
39
36
extern bool apa102_mosi_in_use ;
Original file line number Diff line number Diff line change 31
31
32
32
#include "peripherals/nrf/pins.h"
33
33
34
- #ifdef MICROPY_HW_NEOPIXEL
35
- extern bool neopixel_in_use ;
36
- #endif
37
34
#ifdef MICROPY_HW_APA102_MOSI
38
35
extern bool apa102_sck_in_use ;
39
36
extern bool apa102_mosi_in_use ;
Original file line number Diff line number Diff line change 30
30
#include "common-hal/microcontroller/Pin.h"
31
31
#include "py/obj.h"
32
32
33
+ #ifdef MICROPY_HW_NEOPIXEL
34
+ extern bool neopixel_in_use ;
35
+ #endif
36
+
33
37
// Type object used in Python. Should be shared between ports.
34
38
extern const mp_obj_type_t mcu_pin_type ;
35
39
You can’t perform that action at this time.
0 commit comments