Debugging tool for mbed enabled microcontrollers, especially for NUCLEO-F303RE and STM32F042F6P6.
Diff: debug_serial.cpp
- Revision:
- 22:ac9b2cbb31a8
- Parent:
- 15:83d4dced2a28
diff -r 60c8794c8472 -r ac9b2cbb31a8 debug_serial.cpp --- a/debug_serial.cpp Sat Mar 20 13:11:44 2021 +0000 +++ b/debug_serial.cpp Sun Mar 21 20:16:42 2021 +0000 @@ -158,7 +158,7 @@ int i = (breakpoint_count>=3)?3:breakpoint_count; //print 3 previous breakpoints if possible while (i > 0){ if (i == 1 ){ - pc.printf("\e[1m\e[96;40m"); //change color of the last breakpoint + pc.printf("\e[96;40m"); //change color of the last breakpoint print_one_break(i); pc.printf("\e[22m\e[97;40m"); //return to normal color }else{