Protect SPI transaction start/end from race conditions (#1715)
It would be possible for an IRQ-driven SPI user to fire while the main app's SPI.beginTransaction was in process. This would result in incorrect state for the main app since the IRQ may overwrite some settings that the app already set. Disable all IRQs around the begin and end processes to avoid the possibility.
Showing
Please register or sign in to comment