From f1c479651f80a7a6ec8f6538e6dc41a92f158559 Mon Sep 17 00:00:00 2001 From: David Lin Date: Tue, 18 Feb 2020 20:00:00 +0800 Subject: [PATCH] Minor optimisation to mcr20a-rf-driver code This is a minor optimisation to the mcr20a-rf-driver code: Note that function parameter is pointer. The code is more readable when 'NULL' instead of using '0'. --- components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c b/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c index bbd0d46b96..90633a0205 100644 --- a/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c +++ b/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c @@ -45,6 +45,7 @@ #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT) #include "platform/mbed_critical.h" +#include /***************************************************************************** * PRIVATE VARIABLES *