Remove '#include W7500x_conf.h'

Add assert parameter define.
pull/1318/head
hjjeon0608 2015-09-02 17:59:15 +09:00
parent 3208676d7a
commit cbe00fd832
1 changed files with 9 additions and 2 deletions

View File

@ -125,7 +125,6 @@ typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
/**
* @}
*/
@ -1146,6 +1145,7 @@ typedef struct
//ToDo
typedef enum
{
PAD_PA = 0,
@ -1170,9 +1170,16 @@ typedef enum
#if defined (USE_HAL_DRIVER)
#include "W7500x_conf.h"
// #include "system_W7500x.h"
// #include "W7500x_conf.h"
#endif
#ifdef USE_FULL_ASSERT
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__,__LINE__))
#else
#define assert_param(expr) ((void)0)
#endif /* USE_FULL_ASSERT */
#ifdef __cplusplus
}
#endif