mirror of
https://github.com/espressif/openthread.git
synced 2026-10-02 13:57:38 +00:00
Add explicit fall through comments. (#1018)
This commit is contained in:
@@ -411,6 +411,8 @@ int Lowpan::Compress(Message &aMessage, const Mac::Address &aMacSource, const Ma
|
||||
|
||||
cur += Compress(aMessage, aMacSource, aMacDest, cur);
|
||||
|
||||
// fall through
|
||||
|
||||
default:
|
||||
ExitNow();
|
||||
}
|
||||
|
||||
@@ -1724,6 +1724,8 @@ void MleRouter::HandleStateUpdateTimer(void)
|
||||
ExitNow();
|
||||
}
|
||||
|
||||
// fall through
|
||||
|
||||
case kDeviceStateRouter:
|
||||
// verify path to leader
|
||||
otLogDebgMle("network id timeout = %d", GetLeaderAge());
|
||||
|
||||
Reference in New Issue
Block a user