diff options
| author | hathach <thach@tinyusb.org> | 2018-09-04 23:25:08 +0700 |
|---|---|---|
| committer | hathach <thach@tinyusb.org> | 2018-09-04 23:25:08 +0700 |
| commit | f4a98e909c55f162b52a8f57f996d10df8743c8d (patch) | |
| tree | dc860dfd186eb920b08d7f99fe2a5c1fd3ad4cfb | |
| parent | b9e8e3cd1f4074cfb52805339dbb149e92f1bf2f (diff) | |
fix nrf52832 build 2
| -rw-r--r-- | ports/nrf/common-hal/neopixel_write/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/common-hal/neopixel_write/__init__.c b/ports/nrf/common-hal/neopixel_write/__init__.c index a4ca7524e..cba74c5f7 100644 --- a/ports/nrf/common-hal/neopixel_write/__init__.c +++ b/ports/nrf/common-hal/neopixel_write/__init__.c @@ -206,7 +206,7 @@ void common_hal_neopixel_write (const digitalio_digitalinout_obj_t* digitalinout // the LEDs and if you are not using the EasyDMA feature. __disable_irq(); -#ifdef NRF52840_XXAA +#ifdef NRF_P1 NRF_GPIO_Type* port = ( digitalinout->pin->port ? NRF_P1 : NRF_P0 ); #else NRF_GPIO_Type* port = NRF_P0; |
