comparison code_part1/OSTC_code_c_part2/p2_deco.c @ 681:6e456a6398e0

Hardware4 support
author heinrichsweikamp
date Fri, 25 Jan 2013 18:00:49 +0100
parents 75dc320f4681
children 921f253117e4 5bf4f526f552
comparison
equal deleted inserted replaced
680:c6220d340684 681:6e456a6398e0
315 ////////////////////////////////////////////////////////////////////////////// 315 //////////////////////////////////////////////////////////////////////////////
316 // Bump to blue-screen when an assert is wrong 316 // Bump to blue-screen when an assert is wrong
317 #ifdef __DEBUG 317 #ifdef __DEBUG
318 void assert_failed(PARAMETER short int line) 318 void assert_failed(PARAMETER short int line)
319 { 319 {
320 extern void PLED_resetdebugger(void); 320 extern void DISP_resetdebugger(void);
321 extern unsigned short temp10; 321 extern unsigned short temp10;
322 322
323 temp10 = line; // Show source line number as stack depth. 323 temp10 = line; // Show source line number as stack depth.
324 PLED_resetdebugger(); 324 DISP_resetdebugger();
325 } 325 }
326 #endif 326 #endif
327 327
328 ////////////////////////////////////////////////////////////////////////////// 328 //////////////////////////////////////////////////////////////////////////////
329 // When calling C code from ASM context, the data stack pointer and 329 // When calling C code from ASM context, the data stack pointer and