We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aef8a2 commit 285dd94Copy full SHA for 285dd94
1 file changed
platform_code/arduino/wifi/micro_ros_transport.h
@@ -7,7 +7,9 @@ struct micro_ros_agent_locator {
7
};
8
9
static inline void set_microros_wifi_transports(char * ssid, char * pass, IPAddress agent_ip, uint16_t agent_port){
10
- while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
+ WiFi.begin(ssid, pass);
11
+
12
+ while (WiFi.status() != WL_CONNECTED) {
13
delay(500);
14
}
15
0 commit comments