We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e8e3c commit f4a98e9Copy full SHA for f4a98e9
ports/nrf/common-hal/neopixel_write/__init__.c
@@ -206,7 +206,7 @@ void common_hal_neopixel_write (const digitalio_digitalinout_obj_t* digitalinout
206
// the LEDs and if you are not using the EasyDMA feature.
207
__disable_irq();
208
209
-#ifdef NRF52840_XXAA
+#ifdef NRF_P1
210
NRF_GPIO_Type* port = ( digitalinout->pin->port ? NRF_P1 : NRF_P0 );
211
#else
212
NRF_GPIO_Type* port = NRF_P0;
0 commit comments