mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-23 02:11:11 +01:00
Merge pull request #204 from Dakkaron/master
Small bugfix to the last PR that should fix write errors
This commit is contained in:
commit
71b9ff4998
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user