You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// in board.h when using that power configuration.
113
113
#ifdefUICR_REGOUT0_VALUE
114
-
if ((NRF_UICR->REGOUT0&UICR_REGOUT0_VOUT_Msk) == (UICR_REGOUT0_VOUT_DEFAULT << UICR_REGOUT0_VOUT_Pos)){
114
+
if (((NRF_UICR->REGOUT0&UICR_REGOUT0_VOUT_Msk) != (UICR_REGOUT0_VALUE << UICR_REGOUT0_VOUT_Pos)) && (((NRF_UICR->REGOUT0&UICR_REGOUT0_VOUT_Msk) & (UICR_REGOUT0_VALUE << UICR_REGOUT0_VOUT_Pos)) == (UICR_REGOUT0_VALUE << UICR_REGOUT0_VOUT_Pos))){ // cant write regout0 if any bits need to change to 1
0 commit comments