Update ESPMegaPRO_OOP.cpp
This commit is contained in:
parent
1481c08d3a
commit
a88a65e437
|
@ -30,7 +30,7 @@ void ESPMegaPRO::loop() {
|
|||
}
|
||||
}
|
||||
bool ESPMegaPRO::installCard(uint8_t slot, ExpansionCard* card) {
|
||||
if (slot > 255) return;
|
||||
if (slot > 255) return false;
|
||||
if (cardInstalled[slot]) {
|
||||
Serial.println("Card already installed");
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue