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 d718112 commit 6478ca1Copy full SHA for 6478ca1
cores/nRF5/wiring.c
@@ -56,6 +56,9 @@ void init( void )
56
NRF_RTC1->INTENCLR = RTC_INTENSET_COMPARE0_Msk;
57
NRF_RTC1->TASKS_STOP = 1;
58
NRF_RTC1->TASKS_CLEAR = 1;
59
+
60
+ // Make sure all pin is set HIGH when pinmode() is called
61
+ NRF_GPIO->OUTSET = UINT32_MAX;
62
}
63
64
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