mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 03:39:52 +00:00
[topology] add static assertion to exclude counter overflow (#3550)
This commit is contained in:
committed by
Jonathan Hui
parent
362f97df1e
commit
28cf269481
@@ -853,6 +853,8 @@ private:
|
||||
#if OPENTHREAD_ENABLE_CHILD_SUPERVISION
|
||||
uint16_t mSecondsSinceSupervision; ///< Number of seconds since last supervision of the child.
|
||||
#endif // OPENTHREAD_ENABLE_CHILD_SUPERVISION
|
||||
|
||||
OT_STATIC_ASSERT(OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS < 8192, "mQueuedMessageCount cannot fit max required!");
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user