Skip to content

Commit

Permalink
Rework wifi event monitor to use tasking interface
Browse files Browse the repository at this point in the history
  • Loading branch information
dnc40085 committed Feb 21, 2016
1 parent c487225 commit 391e4cc
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 137 deletions.
5 changes: 5 additions & 0 deletions app/modules/wifi_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ extern void lua_table_add_int(lua_State* L, char* name, lua_Integer integer);
extern void lua_cb_register(lua_State* L,int* cb_ref);
extern void lua_cb_unregister(lua_State* L, int* cb_ref);

#ifdef NODE_DEBUG
#define EVENT_DBG(...) c_printf(__VA_ARGS__)
#else
#define EVENT_DBG(...) //c_printf(__VA_ARGS__)
#endif

#ifdef LUA_USE_MODULES_WIFI_EVENTMON
#ifdef USE_WIFI_SDK_EVENT_MONITOR
Expand Down
Loading

0 comments on commit 391e4cc

Please sign in to comment.