Wrap most optional features in ifdef

This commit is contained in:
Noah Axon 2023-11-13 00:19:16 -06:00
parent f7e8b845ed
commit dad8dac03e
2 changed files with 557 additions and 483 deletions

File diff suppressed because it is too large Load Diff

View File

@ -93,12 +93,12 @@ char* randomSSID(){
}
ssid[p++] = possible[r];
}
ssid[SSIDLEN] = '\n'; M5.Lcd.setTextSize(1);
M5.Lcd.fillScreen(BLACK);
M5.Lcd.setCursor(0, 0, 1);
M5.Lcd.println("Spamming Random SSIDs:");
ssid[SSIDLEN] = '\n'; DISP.setTextSize(1);
DISP.fillScreen(BLACK);
DISP.setCursor(0, 0, 1);
DISP.println("Spamming Random SSIDs:");
// Maximum broadcast SSID length is 32, but the strings might show longer in the output. Sorry.
M5.Lcd.print(ssid);
DISP.print(ssid);
return ssid;
}