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 6664ebf commit 794cc86Copy full SHA for 794cc86
cores/nRF5/wiring.c
@@ -54,6 +54,9 @@ void init( void )
54
NRF_RTC1->INTENCLR = RTC_INTENSET_COMPARE0_Msk;
55
NRF_RTC1->TASKS_STOP = 1;
56
NRF_RTC1->TASKS_CLEAR = 1;
57
+
58
+ // Make sure all pin is set HIGH when pinmode() is called
59
+ NRF_GPIO->OUTSET = UINT32_MAX;
60
}
61
62
void enterSerialDfu(void)
libraries/SPI/SPI.cpp
@@ -118,6 +118,7 @@ void SPIClass::beginTransaction(SPISettings settings)
118
119
void SPIClass::endTransaction(void)
120
{
121
+ _p_spi->ENABLE = (SPI_ENABLE_ENABLE_Disabled << SPI_ENABLE_ENABLE_Pos);
122
123
124
void SPIClass::setBitOrder(BitOrder order)
0 commit comments