[scheduler] move schedulers into otInstance (#1997)

This commit is contained in:
Buke Po
2017-07-15 07:23:22 +08:00
committed by Jonathan Hui
parent 028368e4ee
commit e14598c680
44 changed files with 96 additions and 150 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ Interpreter::Interpreter(otInstance *aInstance):
mLength(8),
mCount(1),
mInterval(1000),
mPingTimer(aInstance->mIp6, &Interpreter::s_HandlePingTimer, this),
mPingTimer(aInstance, &Interpreter::s_HandlePingTimer, this),
#if OPENTHREAD_ENABLE_DNS_CLIENT
mResolvingInProgress(0),
#endif