Bootlop fix

Changed few lines from: String(SOME_PROGMEM_VAR)
Into: str(SOME_PROGMEM_VAR)
This commit is contained in:
michalmonday
2018-12-12 23:43:39 +00:00
parent 34915e2138
commit e65c1da239
3 changed files with 15 additions and 15 deletions

View File

@@ -411,19 +411,19 @@ uint32_t Scan::getPackets(int i) {
String Scan::getMode() {
switch (scanMode) {
case SCAN_MODE_OFF:
return String(SC_MODE_OFF);
return str(SC_MODE_OFF);
case SCAN_MODE_APS:
return String(SC_MODE_AP);
return str(SC_MODE_AP);
case SCAN_MODE_STATIONS:
return String(SC_MODE_ST);
return str(SC_MODE_ST);
case SCAN_MODE_ALL:
return String(SC_MODE_ALL);
return str(SC_MODE_ALL);
case SCAN_MODE_SNIFFER:
return String(SC_MODE_SNIFFER);
return str(SC_MODE_SNIFFER);
default:
return String();