提交 4373013b 编写于 作者: L liebman 提交者: Develo

fix formatting (#5459)

上级 7898ca7b
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册