boards/../stm32_appinit.c: Handle cases where 'OK' is not defined.

This commit is contained in:
Gregory Nutt 2019-11-05 07:47:12 -06:00
parent a085a0a70b
commit e2976c5b4e
2 changed files with 16 additions and 0 deletions

View File

@ -45,6 +45,14 @@
#include "nucleo-f4x1re.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#ifndef OK
# define OK 0
#endif
/****************************************************************************
* Public Functions
****************************************************************************/

View File

@ -50,6 +50,14 @@
#include "nucleo-g070rb.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#ifndef OK
# define OK 0
#endif
/****************************************************************************
* Public Functions
****************************************************************************/