Removes write errors

This commit is contained in:
Dakkaron 2021-07-22 15:16:38 +02:00
parent 80ff348b03
commit 3e18f4f28c

View File

@ -1118,6 +1118,7 @@ bool writeFlash_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();