Skip to content

Commit b594ec2

Browse files
Keyur HariyaKeyur Hariya
authored andcommitted
Fix compiler warning for spi_api
Add mbed_critical include file to disable compiler warning messages.
1 parent 098c2cf commit b594ec2

File tree

1 file changed

+1
-0
lines changed
  • targets/TARGET_Maxim/TARGET_MAX32625

1 file changed

+1
-0
lines changed

targets/TARGET_Maxim/TARGET_MAX32625/spi_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
*/
3333

3434
#include "mbed_assert.h"
35+
#include "mbed_critical.h"
3536
#include "spi_api.h" // mbed HAL
3637
#include "spim_regs.h" // bare metal
3738
#include "spim.h" // Maxim CMSIS driver

0 commit comments

Comments
 (0)