[nrf52840] fix IAR warning in radio.c (#2641)

Signed-off-by: Robert Lubos <[email protected]>
This commit is contained in:
Robert Lubos
2018-03-27 17:33:04 +01:00
committed by Jonathan Hui
parent 0ccf6a2be2
commit 976f7a4078
+1 -1
View File
@@ -356,7 +356,7 @@ otRadioCaps otPlatRadioGetCaps(otInstance *aInstance)
{
(void)aInstance;
return OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_CSMA_BACKOFF;
return (otRadioCaps)(OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_CSMA_BACKOFF);
}
bool otPlatRadioGetPromiscuous(otInstance *aInstance)