fix nrf52832 build 2
This commit is contained in:
parent
b9e8e3cd1f
commit
f4a98e909c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue