Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework wifi event monitor to use tasking interface
Browse files Browse the repository at this point in the history
add fix issue #1065
dnc40085 committed Feb 20, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c487225 commit 20a568e
Showing 3 changed files with 186 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
@@ -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
Loading

0 comments on commit 20a568e

Please sign in to comment.