2
0
mirror of https://github.com/sanni/cartreader.git synced 2025-04-20 03:51:21 +02:00

Removes write errors

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

@ -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();