Skip to content

Commit f1c4796

Browse files
authored
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'.
1 parent 57d3a14 commit f1c4796

File tree

1 file changed

+1
-0
lines changed
  • components/802.15.4_RF/mcr20a-rf-driver/source

1 file changed

+1
-0
lines changed

components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT)
4646

4747
#include "platform/mbed_critical.h"
48+
#include <string.h>
4849

4950
/*****************************************************************************
5051
* PRIVATE VARIABLES *

0 commit comments

Comments
 (0)