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'.
pull/12427/head
David Lin 2020-02-18 20:00:00 +08:00 committed by GitHub
parent 57d3a14e0f
commit f1c479651f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 <string.h>
/*****************************************************************************
* PRIVATE VARIABLES *