Skip to content

Commit

Permalink
fix formatting (esp8266#5459)
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman authored and devyte committed Dec 9, 2018
1 parent 7898ca7 commit 4373013
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/device/test_ping/test_ping.ino
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ static void ping_done(void* options, void* resp)

TEST_CASE("pings sent/answered", "[lwip]")
{
IPAddress address;
IPAddress address;
if (WiFi.hostByName(getenv("SERVER_IP"), address))
{
po.ip = address;
po.count = PING_COUNT;
po.coarse_time = 1;
po.sent_function = &ping_done;
po.recv_function = &ping_recv;
ping_start(&po);
delay((PING_COUNT+2)*1000);
po.ip = address;
po.count = PING_COUNT;
po.coarse_time = 1;
po.sent_function = &ping_done;
po.recv_function = &ping_recv;
ping_start(&po);
delay((PING_COUNT+2)*1000);
}
REQUIRE(recv_count == PING_COUNT);
REQUIRE(done_count == PING_COUNT);
REQUIRE(recv_count == PING_COUNT);
REQUIRE(done_count == PING_COUNT);
}

void loop()
Expand Down

0 comments on commit 4373013

Please sign in to comment.