• Johny Mattsson's avatar
    Reworked module registration, removed modules.h · 4e8ef87d
    Johny Mattsson authored
    Module creation & registration now made a lot simpler. In essence,
    each module file is now self-contained and only needs a
    
      NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname);
    
    line to both be automatically recognised by the Lua initialization
    as well as honor the LUA_USE_MODULES_MYNAME #define.
    4e8ef87d
sntp.c 9.35 KB