Fix compiler warning for spi_api

Add mbed_critical include file to disable compiler warning messages.
pull/6605/head
Keyur Hariya 2018-04-12 12:52:55 -05:00
parent 098c2cf756
commit b594ec20b8
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
*/
#include "mbed_assert.h"
#include "mbed_critical.h"
#include "spi_api.h" // mbed HAL
#include "spim_regs.h" // bare metal
#include "spim.h" // Maxim CMSIS driver