uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpc17xx_libcfg_default.c
Go to the documentation of this file.
1 /***********************************************************************/
21 /* Library group ----------------------------------------------------------- */
26 /* Includes ------------------------------------------------------------------- */
27 #include "lpc17xx_libcfg_default.h"
28 
29 /* Public Functions ----------------------------------------------------------- */
34 #ifndef __BUILD_WITH_EXAMPLE__
35 
36 #ifdef DEBUG
37 /*******************************************************************************
38 * @brief Reports the name of the source file and the source line number
39 * where the CHECK_PARAM error has occurred.
40 * @param[in] file Pointer to the source file name
41 * @param[in] line assert_param error line source number
42 * @return None
43 *******************************************************************************/
44 void check_failed(uint8_t *file, uint32_t line)
45 {
46  /* User can add his own implementation to report the file name and line number,
47  ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
48 
49  /* Infinite loop */
50  while(1);
51 }
52 #endif /* DEBUG */
53 
54 #endif /* __BUILD_WITH_EXAMPLE__ */
55 
64 /* --------------------------------- End Of File ------------------------------ */