Issue:
Calling SPI.end() before SPI.begin() causes the board to become unresponsive.
Example:
#include <SPI.h>
void setup() {
SPI.end();
}
void loop() {
}
Expected behavior
SPI.end() should return safely if SPI has not been initialized.
Hardware
Core version
- ArduinoCore-renesas 1.6.0
A fix is proposed in #551 .
Issue:
Calling
SPI.end()beforeSPI.begin()causes the board to become unresponsive.Example:
Expected behavior
SPI.end()should return safely if SPI has not been initialized.Hardware
Core version
A fix is proposed in #551 .