[trel] fix typo in OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE (#9823)

This commit is contained in:
Jonathan Hui
2024-02-02 09:03:51 -08:00
committed by GitHub
parent b6e6b726ed
commit 890da2c1b8
+2 -2
View File
@@ -257,8 +257,8 @@ public:
void ResetCounters(void);
private:
#if OPENTHREAD_COFNIG_TREL_PEER_TABLE_SIZE != 0
static constexpr uint16_t kPeerTableSize = OPENTHREAD_COFNIG_TREL_PEER_TABLE_SIZE;
#if OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE != 0
static constexpr uint16_t kPeerTableSize = OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE;
#else
static constexpr uint16_t kPeerTableExtraEntries = 32;
static constexpr uint16_t kPeerTableSize = Mle::kMaxRouters + Mle::kMaxChildren + kPeerTableExtraEntries;