diff options
| author | microDev <70126934+microDev1@users.noreply.github.com> | 2021-01-12 18:28:38 +0530 |
|---|---|---|
| committer | microDev <70126934+microDev1@users.noreply.github.com> | 2021-01-12 18:28:38 +0530 |
| commit | cd16f29efdc2df4544ffcccca5ae227be2f816ba (patch) | |
| tree | 8a90c5519f5b478d72d1647f7a537918bb543fdd /ports/esp32s2/common-hal/microcontroller/Pin.h | |
| parent | 5f448139e0c5972def8a8f138cd29afd1e9222f8 (diff) | |
| parent | 047708e36e67beee14771120296cdf758f00601d (diff) | |
Merge branch 'main' into TouchAlarm
Diffstat (limited to 'ports/esp32s2/common-hal/microcontroller/Pin.h')
| -rw-r--r-- | ports/esp32s2/common-hal/microcontroller/Pin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/esp32s2/common-hal/microcontroller/Pin.h b/ports/esp32s2/common-hal/microcontroller/Pin.h index f6c008703..65f57a82d 100644 --- a/ports/esp32s2/common-hal/microcontroller/Pin.h +++ b/ports/esp32s2/common-hal/microcontroller/Pin.h @@ -31,8 +31,10 @@ #include "peripherals/pins.h" -extern bool apa102_mosi_in_use; +#ifdef MICROPY_HW_APA102_MOSI extern bool apa102_sck_in_use; +extern bool apa102_mosi_in_use; +#endif #ifdef MICROPY_HW_NEOPIXEL extern bool neopixel_in_use; |
