From 51682e6475d477ced2427c131ff7e975b7cbe4b9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 May 2022 18:46:23 +0200 Subject: refactor(minion): rename the connect method in wifi module --- minion/src/gymnasiearbete.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'minion/src/gymnasiearbete.cpp') diff --git a/minion/src/gymnasiearbete.cpp b/minion/src/gymnasiearbete.cpp index 30e5605..efdb37b 100644 --- a/minion/src/gymnasiearbete.cpp +++ b/minion/src/gymnasiearbete.cpp @@ -46,7 +46,8 @@ void setup() delay(SECOND_IN_MILLIS); - const auto wifi_connect_success = wifi_module.connect(WIFI_SSID, WIFI_PASSWORD); + const auto wifi_connect_success = + wifi_module.connect_to_wifi(WIFI_SSID, WIFI_PASSWORD); Serial.print( wifi_connect_success ? "Connected to wifi network '" -- cgit v1.2.3-18-g5258