Skip to content

Commit f15508a

Browse files
committed
wire irq prio from 2 to 3
1 parent 714d82d commit f15508a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Wire/Wire_nRF52.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void TwoWire::begin(void) {
6161
_p_twim->PSEL.SDA = _uc_pinSDA;
6262

6363
NVIC_ClearPendingIRQ(_IRQn);
64-
NVIC_SetPriority(_IRQn, 2);
64+
NVIC_SetPriority(_IRQn, 3);
6565
NVIC_EnableIRQ(_IRQn);
6666
}
6767

@@ -91,7 +91,7 @@ void TwoWire::begin(uint8_t address) {
9191
_p_twis->INTENSET = TWIS_INTEN_STOPPED_Msk | TWIS_INTEN_ERROR_Msk | TWIS_INTEN_WRITE_Msk | TWIS_INTEN_READ_Msk;
9292

9393
NVIC_ClearPendingIRQ(_IRQn);
94-
NVIC_SetPriority(_IRQn, 2);
94+
NVIC_SetPriority(_IRQn, 3);
9595
NVIC_EnableIRQ(_IRQn);
9696

9797
_p_twis->ENABLE = (TWIS_ENABLE_ENABLE_Enabled << TWIS_ENABLE_ENABLE_Pos);

0 commit comments

Comments
 (0)