From 92c7a41c97cbe00b390e19c5980f311ba5cbeecf Mon Sep 17 00:00:00 2001 From: splash5 <2173030+splash5@users.noreply.github.com> Date: Fri, 11 Oct 2019 22:13:10 +0800 Subject: [PATCH] Fix typo again --- Cart_Reader/WS.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cart_Reader/WS.ino b/Cart_Reader/WS.ino index 238dcea..df7f571 100644 --- a/Cart_Reader/WS.ino +++ b/Cart_Reader/WS.ino @@ -8,7 +8,7 @@ // C44: /WE : PH5 // C43: /OE : PH6 // C47: CLK : PE3 (384KHz on real device) -// C41: /IO? : PE4 +// C41: /IO? : PE4 (only use when unlocking MMC) // C46: INT : PG5 (for RTC alarm interrupt) /****************************************** @@ -53,7 +53,7 @@ void setup_WS() display_Clear(); // unlock MMC - if (!unlockBandai2003_WS()) + if (!unlockMMC2003_WS()) print_Error(F("Can't initial MMC"), true); if (getCartInfo_WS() != 0xea) @@ -770,7 +770,7 @@ void unprotectEEPROM() } // generate data for port 0xc4 to 0xc8 -// number of CLK pulses needed for each instruction is 1 + (16/32) + 2 +// number of CLK pulses needed for each instruction is 1 + (16 or 32) + 3 void generateEepromInstruction_WS(uint8_t *instruction, uint8_t opcode, uint16_t addr, uint8_t l_data, uint8_t h_data) { uint32_t *ptr = (uint32_t*)instruction; @@ -825,7 +825,7 @@ void generateEepromInstruction_WS(uint8_t *instruction, uint8_t opcode, uint16_t // 2003 MMC need to be unlock, // or it will reject all reading and bank switching -boolean unlockBandai2003_WS() +boolean unlockMMC2003_WS() { dataOut_WS();