mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-26 14:34:15 +01:00
Fix PH3 pin typo
This commit is contained in:
parent
68a7958905
commit
ac1c6db12d
@ -232,7 +232,7 @@ void writeByte_SMS(word myAddress, byte myData) {
|
|||||||
PORTF = myAddress & 0xFF;
|
PORTF = myAddress & 0xFF;
|
||||||
PORTK = (myAddress >> 8) & 0xFF;
|
PORTK = (myAddress >> 8) & 0xFF;
|
||||||
if (!adapter_retrode) {
|
if (!adapter_retrode) {
|
||||||
// CE(PH3) and OE(PH6) are connected
|
// A15/M0-7(PH3) and OE(PH6) are connected
|
||||||
PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000);
|
PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ byte readByte_SMS(word myAddress) {
|
|||||||
PORTF = myAddress & 0xFF;
|
PORTF = myAddress & 0xFF;
|
||||||
PORTK = (myAddress >> 8) & 0xFF;
|
PORTK = (myAddress >> 8) & 0xFF;
|
||||||
if (!adapter_retrode) {
|
if (!adapter_retrode) {
|
||||||
// CE(PH3) and OE(PH6) are connected
|
// A15/M0-7(PH3) and OE(PH6) are connected
|
||||||
PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000);
|
PORTH = (PORTH & 0b11110111) | ((myAddress >> 12) & 0b00001000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user