mirror of
https://github.com/espressif/openthread.git
synced 2026-07-10 14:20:29 +00:00
Remove globals from timer.cpp.
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ static otNetifAddress sAutoAddresses[8];
|
||||
void Interpreter::Init(void)
|
||||
{
|
||||
sIp6->mIcmp.SetEchoReplyHandler(&HandleEchoResponse, NULL);
|
||||
sPingTimer = new(&sPingTimerBuf) Timer(&HandlePingTimer, NULL);
|
||||
sPingTimer = new(&sPingTimerBuf) Timer(sIp6->mTimerScheduler, &HandlePingTimer, NULL);
|
||||
sLength = 8;
|
||||
sCount = 1;
|
||||
sInterval = 1000;
|
||||
|
||||
Reference in New Issue
Block a user