Skip to content

Commit c882856

Browse files
committed
modify beaconCreate params for wifi controller to avoid warning
1 parent 66667ab commit c882856

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Controllers/WifiController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ void WifiController::handleApSpam()
311311
terminalView.println("WiFi: Starting beacon spam... Press [ENTER] to stop.");
312312
while (true)
313313
{
314-
beaconCreate("", 0); // func from Vendors/wifi_atks.h
314+
beaconCreate("", 0, 0); // func from Vendors/wifi_atks.h
315315

316316
// Enter press to stop
317317
char key = terminalInput.readChar();
@@ -658,7 +658,7 @@ void WifiController::handleFlood(const TerminalCommand& cmd)
658658
while (true) {
659659
char c = terminalInput.readChar();
660660
if (c == '\r' || c == '\n') break;
661-
beaconCreate("", channel); // func from Vendors/wifi_atks.h
661+
beaconCreate("", channel, 0); // func from Vendors/wifi_atks.h
662662
}
663663

664664
terminalView.println("WiFi Flood: Stopped by user.\n");

0 commit comments

Comments
 (0)