From bf98795dd073cfba45979a390eaf11991841d43a Mon Sep 17 00:00:00 2001 From: Paul Guyot Date: Sun, 2 Jul 2023 11:29:29 +0200 Subject: [PATCH] RTC example fixup --- examples/basic/rtc/src/rtc.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/basic/rtc/src/rtc.erl b/examples/basic/rtc/src/rtc.erl index c245cc4..e798169 100644 --- a/examples/basic/rtc/src/rtc.erl +++ b/examples/basic/rtc/src/rtc.erl @@ -27,7 +27,9 @@ start_network() -> {ssid, ?WIFI_SSID}, {psk, ?WIFI_PSK} ]}, - {sntp, [{host, "pool.ntp.org"}, {synchronized, fun(Timeval) -> Parent ! {ntp, Timeval} end}]} + {sntp, [ + {host, "pool.ntp.org"}, {synchronized, fun(Timeval) -> Parent ! {ntp, Timeval} end} + ]} ], case network:start(WifiConfig) of {ok, _Pid} ->