SDPOWER => SDPOWER_PIN
This commit is contained in:
1 parent
5e2582a31b
commit
9ac348ef7b
12 files changed
+10
-16
No files matched your search
@@ -133,9 +133,8 @@ CardReader::CardReader() {
|
||||
// Disable autostart until card is initialized
|
||||
autostart_index = -1;
|
||||
|
||||
//power to SD reader
|
||||
#if SDPOWER > -1
|
||||
OUT_WRITE(SDPOWER, HIGH);
|
||||
#if PIN_EXISTS(SDPOWER)
|
||||
OUT_WRITE(SDPOWER_PIN, HIGH); // Power the SD reader
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user