SDPOWER => SDPOWER_PIN

This commit is contained in:
Scott Lahteine
2019-08-02 02:19:39 -05:00
parent 5e2582a31b
commit 9ac348ef7b
12 changed files with 10 additions and 16 deletions

View File

@ -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
}