nodemcu-firmware/app
Nathaniel Wesley Filardo 7d387dd4d6 Simplify and tidy SNTP (#2700)
* list_ref can become LUA_REFNIL, because that's what rawgeti returns
  for LUA_NOREF.  Defensively guard for this, rather than falling into
  the sntp_dolookups loop with nil on the stack.

* set_repeat_mode should not call itself, but should rather always do
  what it's going to do and then optionally do the rest if directed.

* sntp_sync should not try to special case the single string argument:
  we should be queueing that name for DNS resolution, too.  Towards that
  end, if we are given a single string, build a table and make that the
  list_ref and call off to sntp_dolookups, just like we otherwise do.

FIXES: #2699
2019-07-27 14:20:26 +02:00
..
coap Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
crypto Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
dht Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
driver remove luacheck run for Travs and minor tweaks following #2838 (#2845) 2019-07-23 20:29:44 +03:00
esp-gdbstub Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
fatfs Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
http Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
include Add support for DCHP NTP server (option 42) (#2709) 2019-07-27 08:21:35 +02:00
libc Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
lua Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
lwip Add support for DCHP NTP server (option 42) (#2709) 2019-07-27 08:21:35 +02:00
mbedtls Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
modules Simplify and tidy SNTP (#2700) 2019-07-27 14:20:26 +02:00
mqtt Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
net Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
pcm Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
platform Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
pm remove luacheck run for Travs and minor tweaks following #2838 (#2845) 2019-07-23 20:29:44 +03:00
sjson Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
smart Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
spiffs Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
sqlite3 Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
task Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
tsl2561 Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
u8g2lib Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
ucglib Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
user Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
uzlib Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
websocket Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00
.gitignore seperate user_config.h to speed-up compile when modules disabled/enabled 2015-03-06 11:59:04 +08:00
Makefile Dev make cleanup (#2842) 2019-07-23 18:47:18 +03:00