From a5e228bf22658ae92ff1872327ce2a9f55113955 Mon Sep 17 00:00:00 2001 From: Xiao Ma Date: Mon, 1 May 2017 11:46:49 +0800 Subject: [PATCH] Plat EFR32: Replace magic number with "OPENTHREAD_CONFIG_DEFAULT_MAX_TRANSMIT_POWER". (#1687) --- examples/platforms/efr32/radio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platforms/efr32/radio.c b/examples/platforms/efr32/radio.c index 62c97971a..02bdb2a3b 100644 --- a/examples/platforms/efr32/radio.c +++ b/examples/platforms/efr32/radio.c @@ -127,7 +127,7 @@ void efr32RadioInit(void) assert(false); } - RAIL_TxPowerSet(0); + RAIL_TxPowerSet(OPENTHREAD_CONFIG_DEFAULT_MAX_TRANSMIT_POWER); otLogInfoPlat(sInstance, "Initialized", NULL); }