@@ -144,11 +144,11 @@ typedef int mbed_error_status_t;
144
144
*
145
145
*/
146
146
#ifdef MBED_CONF_ERROR_FILENAME_CAPTURE_ENABLED
147
- #define MBED_WARNING ( error_status , error_msg ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)0 , (const char *)MBED_FILENAME, __LINE__ )
148
- #define MBED_WARNING1 ( error_status , error_msg , error_value ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)error_value , (const char *)MBED_FILENAME, __LINE__ )
147
+ #define MBED_WARNING1 ( error_status , error_msg , error_value ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)error_value , (const char *)MBED_FILENAME, __LINE__ )
148
+ #define MBED_WARNING ( error_status , error_msg ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)0 , (const char *)MBED_FILENAME, __LINE__ )
149
149
#else
150
- #define MBED_WARNING ( error_status , error_msg ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)0, NULL, 0 )
151
- #define MBED_WARNING1 ( error_status , error_msg , error_value ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)error_value, NULL, 0 )
150
+ #define MBED_WARNING1 ( error_status , error_msg , error_value ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)error_value, NULL, 0 )
151
+ #define MBED_WARNING ( error_status , error_msg ) mbed_warning( error_status, (const char *)error_msg, (uint32_t)0, NULL, 0 )
152
152
#endif
153
153
154
154
/**
@@ -171,11 +171,11 @@ typedef int mbed_error_status_t;
171
171
*
172
172
*/
173
173
#ifdef MBED_CONF_ERROR_FILENAME_CAPTURE_ENABLED
174
- #define MBED_ERROR ( error_status , error_msg ) mbed_error( error_status, (const char *)error_msg, (uint32_t)0 , (const char *)MBED_FILENAME, __LINE__ )
175
174
#define MBED_ERROR1 ( error_status , error_msg , error_value ) mbed_error( error_status, (const char *)error_msg, (uint32_t)error_value, (const char *)MBED_FILENAME, __LINE__ )
175
+ #define MBED_ERROR ( error_status , error_msg ) mbed_error( error_status, (const char *)error_msg, (uint32_t)0 , (const char *)MBED_FILENAME, __LINE__ )
176
176
#else
177
- #define MBED_ERROR ( error_status , error_msg ) mbed_error( error_status, (const char *)error_msg, (uint32_t)0 , NULL, 0 )
178
177
#define MBED_ERROR1 ( error_status , error_msg , error_value ) mbed_error( error_status, (const char *)error_msg, (uint32_t)error_value, NULL, 0 )
178
+ #define MBED_ERROR ( error_status , error_msg ) mbed_error( error_status, (const char *)error_msg, (uint32_t)0 , NULL, 0 )
179
179
#endif
180
180
181
181
//Error Type definition
0 commit comments