[topology] add static assertion to exclude counter overflow (#3550)

This commit is contained in:
Markov Vladislav
2019-02-04 10:53:09 -08:00
committed by Jonathan Hui
parent 362f97df1e
commit 28cf269481
+2
View File
@@ -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!");
};
/**