mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-01-13 15:17:43 +00:00
Self-update fixed
This commit is contained in:
parent
cca32d9d29
commit
7391875710
3
mmc.c
3
mmc.c
@ -469,7 +469,8 @@ static RAMFUNC unsigned char MMC_Command(unsigned char cmd, unsigned long arg)
|
||||
crc = 0;
|
||||
|
||||
// flush spi, give card a moment to wake up (needed for old 2GB Panasonic card)
|
||||
spi_n(0xff, 8);
|
||||
// spi_n(0xff, 8); // this is not flash save if not in ram
|
||||
for(b=0;b<8;b++) SPI(0xff);
|
||||
|
||||
SPI(cmd);
|
||||
MMC_CRC(cmd);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user