mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 06:59:59 +01:00
Bootlop fix
Changed few lines from: String(SOME_PROGMEM_VAR) Into: str(SOME_PROGMEM_VAR)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user