File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -40,19 +40,19 @@ static void ping_done(void* options, void* resp)
4040
4141TEST_CASE (" pings sent/answered" , " [lwip]" )
4242{
43- IPAddress address;
43+ IPAddress address;
4444 if (WiFi.hostByName (getenv (" SERVER_IP" ), address))
4545 {
46- po.ip = address;
47- po.count = PING_COUNT;
48- po.coarse_time = 1 ;
49- po.sent_function = &ping_done;
50- po.recv_function = &ping_recv;
51- ping_start (&po);
52- delay ((PING_COUNT+2 )*1000 );
46+ po.ip = address;
47+ po.count = PING_COUNT;
48+ po.coarse_time = 1 ;
49+ po.sent_function = &ping_done;
50+ po.recv_function = &ping_recv;
51+ ping_start (&po);
52+ delay ((PING_COUNT+2 )*1000 );
5353 }
54- REQUIRE (recv_count == PING_COUNT);
55- REQUIRE (done_count == PING_COUNT);
54+ REQUIRE (recv_count == PING_COUNT);
55+ REQUIRE (done_count == PING_COUNT);
5656}
5757
5858void loop ()
You can’t perform that action at this time.
0 commit comments