File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
atmel-samd/common-hal/microcontroller
nrf/common-hal/microcontroller
shared-bindings/microcontroller Expand file tree Collapse file tree 3 files changed +6
-4
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
34
37
#ifdef MICROPY_HW_APA102_MOSI
35
38
extern bool apa102_sck_in_use ;
36
39
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
34
37
#ifdef MICROPY_HW_APA102_MOSI
35
38
extern bool apa102_sck_in_use ;
36
39
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
-
37
33
// Type object used in Python. Should be shared between ports.
38
34
extern const mp_obj_type_t mcu_pin_type ;
39
35
You can’t perform that action at this time.
0 commit comments