瀏覽代碼

[BSP] remove the asssert_failed function in lpc176x.

Bernard Xiong 9 年之前
父節點
當前提交
db5fc259a2
共有 1 個文件被更改,包括 0 次插入20 次删除
  1. 0 20
      bsp/lpc176x/applications/startup.c

+ 0 - 20
bsp/lpc176x/applications/startup.c

@@ -32,26 +32,6 @@ extern int Image$$RW_IRAM1$$ZI$$Limit;
 extern int __bss_end;
 #endif
 
-#ifdef  DEBUG
-/*******************************************************************************
-* Function Name  : assert_failed
-* Description    : Reports the name of the source file and the source line number
-*                  where the assert error has occurred.
-* Input          : - file: pointer to the source file name
-*                  - line: assert error line source number
-* Output         : None
-* Return         : None
-*******************************************************************************/
-void assert_failed(u8* file, u32 line)
-{
-	rt_kprintf("\n\r Wrong parameter value detected on\r\n");
-	rt_kprintf("       file  %s\r\n", file);
-	rt_kprintf("       line  %d\r\n", line);
-
-	while (1) ;
-}
-#endif
-
 /**
  * This function will startup RT-Thread RTOS.
  */