Skip to content

Commit

Permalink
RTC example fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Jul 2, 2023
1 parent 0171a83 commit bf98795
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/basic/rtc/src/rtc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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} ->
Expand Down

0 comments on commit bf98795

Please sign in to comment.