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
coderabbit-followupFollow-up for a CodeRabbit finding missed at merge timesanitizedTitle, body and conversation screened; review text requires separate screening.
Suggested fix: Allow board-specific guards such as __RFduino__, or point the diagnostic to a board-level FL_IS_* macro instead of the family macro.
2. src/platforms/arm/nrf51/fastpin_arm_nrf51.h:40
setInput() does a read-modify-write on NRF_GPIO->PIN_CNF[PIN]. If an interrupt changes the same register (for example, it enables SENSE for a wake) between the read and the write, the stale write undoes that change.
Suggested fix: Do the update with interrupts masked (e.g. a short PRIMASK critical section), or write the whole PIN_CNF value on purpose.
3. src/platforms/arm/nrf51/fastspi_arm_nrf51.h:75
spiFrequency() falls back to SPI_FREQUENCY_FREQUENCY_K125 for any slower request. For example, DATA_RATE_KHZ(100) runs at 125 kHz, which is faster than the caller's limit.
coderabbit-followupFollow-up for a CodeRabbit finding missed at merge timesanitizedTitle, body and conversation screened; review text requires separate screening.
Activity
fix(nrf51): lint suggestion, PIN_CNF race, SPI minimum rate (FastLED#…