Skip to content

Commit f4a98e9

Browse files
committed
fix nrf52832 build 2
1 parent b9e8e3c commit f4a98e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/nrf/common-hal/neopixel_write/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void common_hal_neopixel_write (const digitalio_digitalinout_obj_t* digitalinout
206206
// the LEDs and if you are not using the EasyDMA feature.
207207
__disable_irq();
208208

209-
#ifdef NRF52840_XXAA
209+
#ifdef NRF_P1
210210
NRF_GPIO_Type* port = ( digitalinout->pin->port ? NRF_P1 : NRF_P0 );
211211
#else
212212
NRF_GPIO_Type* port = NRF_P0;

0 commit comments

Comments
 (0)