mirror of
https://github.com/espressif/openthread.git
synced 2026-09-24 09:57:38 +00:00
[mac] remove dead code (#3254)
This commit is contained in:
committed by
Jonathan Hui
parent
9a1dc1eeae
commit
f5fdf506ad
@@ -69,12 +69,6 @@ static const otExtendedPanId sExtendedPanidInit = {
|
||||
};
|
||||
static const char sNetworkNameInit[] = "OpenThread";
|
||||
|
||||
#ifdef _WIN32
|
||||
const uint32_t kMinBackoffSum = kMinBackoff + (kUnitBackoffPeriod * OT_RADIO_SYMBOL_TIME * (1 << kMinBE)) / 1000;
|
||||
const uint32_t kMaxBackoffSum = kMinBackoff + (kUnitBackoffPeriod * OT_RADIO_SYMBOL_TIME * (1 << kMaxBE)) / 1000;
|
||||
static_assert(kMinBackoffSum > 0, "The min backoff value should be greater than zero!");
|
||||
#endif
|
||||
|
||||
Mac::Mac(Instance &aInstance)
|
||||
: InstanceLocator(aInstance)
|
||||
, mOperation(kOperationIdle)
|
||||
|
||||
Reference in New Issue
Block a user