Skip to content

Commit 80b4732

Browse files
authored
Increase spi_TIMEOUT in SPI.cpp
Increase the value of spi_TIMEOUT to resolve SPI bus error on ASR6502 processors when attempting to write to an SD card.
1 parent 2e97a6d commit 80b4732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/asr650x/SPI/SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "project.h"
2424
#include "HardwareSerial.h"
2525

26-
#define spi_TIMEOUT 500
26+
#define spi_TIMEOUT 4000
2727

2828

2929
SPIClass::SPIClass(uint8_t spi_bus)

0 commit comments

Comments
 (0)