File tree 1 file changed +10
-10
lines changed
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)
40
40
41
41
TEST_CASE (" pings sent/answered" , " [lwip]" )
42
42
{
43
- IPAddress address;
43
+ IPAddress address;
44
44
if (WiFi.hostByName (getenv (" SERVER_IP" ), address))
45
45
{
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 );
53
53
}
54
- REQUIRE (recv_count == PING_COUNT);
55
- REQUIRE (done_count == PING_COUNT);
54
+ REQUIRE (recv_count == PING_COUNT);
55
+ REQUIRE (done_count == PING_COUNT);
56
56
}
57
57
58
58
void loop ()
You can’t perform that action at this time.
0 commit comments