diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/debug-jz4760.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c index 3634a88f11..be921efa13 100644 --- a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c +++ b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c @@ -29,6 +29,8 @@ #include "button.h" #include "timefuncs.h" +#ifndef BOOTLOADER + static int line = 0; /* @@ -176,6 +178,11 @@ bool dbg_hw_info(void) } return true; } +#endif + +#ifdef BOOTLOADER +#define WITH_SERIAL +#endif #ifdef WITH_SERIAL void serial_putc (const char c) |