Merge pull request #204 from Dakkaron/master

Small bugfix to the last PR that should fix write errors
This commit is contained in:
sanni 2021-07-22 15:53:52 +02:00 committed by GitHub
commit 71b9ff4998

View File

@ -1517,6 +1517,7 @@ bool writeCFI_GB() {
// Switch CS(PH3) and OE/RD(PH6) to HIGH
PORTH |= (1 << 3) | (1 << 6);
__asm__("nop\n\tnop\n\tnop\n\t"); // Waste a few CPU cycles to remove write errors
// Set data pins to output
dataOut();