Wrap most optional features in ifdef
This commit is contained in:
parent
f7e8b845ed
commit
dad8dac03e
1030
m5stick-nemo.ino
1030
m5stick-nemo.ino
File diff suppressed because it is too large
Load Diff
10
wifispam.h
10
wifispam.h
|
@ -93,12 +93,12 @@ char* randomSSID(){
|
||||||
}
|
}
|
||||||
ssid[p++] = possible[r];
|
ssid[p++] = possible[r];
|
||||||
}
|
}
|
||||||
ssid[SSIDLEN] = '\n'; M5.Lcd.setTextSize(1);
|
ssid[SSIDLEN] = '\n'; DISP.setTextSize(1);
|
||||||
M5.Lcd.fillScreen(BLACK);
|
DISP.fillScreen(BLACK);
|
||||||
M5.Lcd.setCursor(0, 0, 1);
|
DISP.setCursor(0, 0, 1);
|
||||||
M5.Lcd.println("Spamming Random SSIDs:");
|
DISP.println("Spamming Random SSIDs:");
|
||||||
// Maximum broadcast SSID length is 32, but the strings might show longer in the output. Sorry.
|
// 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;
|
return ssid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue