mirror of https://github.com/ARMmbed/mbed-os.git
Add consistent ADuCM3029 System return codes and remove duplicate codes
parent
2e081dc7d0
commit
ae492d9c4a
|
@ -40,9 +40,12 @@ extern "C" {
|
|||
#endif /* __cplusplus */
|
||||
|
||||
/*! \cond PRIVATE */
|
||||
#define SUCCESS 0u
|
||||
|
||||
#define FAILURE 1u
|
||||
/*! System API function return codes */
|
||||
typedef enum
|
||||
{
|
||||
ADI_SYS_SUCCESS = 0, /*!< No error detected. */
|
||||
ADI_SYS_FAILURE, /*!< The API call failed. */
|
||||
} ADI_SYS_RESULT;
|
||||
|
||||
/* System clock constant */
|
||||
#define __HFOSC 26000000u
|
||||
|
|
Loading…
Reference in New Issue