cleanup.
This commit is contained in:
parent
0f188befb6
commit
057682f776
5
main.c
5
main.c
@ -537,6 +537,10 @@ STATIC int run_repl(void) {
|
|||||||
return exit_code;
|
return exit_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MY_DEBUGUART
|
||||||
|
extern void dbg_dump_reset_reason(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
int __attribute__((used)) main(void) {
|
int __attribute__((used)) main(void) {
|
||||||
// initialise the cpu and peripherals
|
// initialise the cpu and peripherals
|
||||||
safe_mode_t safe_mode = port_init();
|
safe_mode_t safe_mode = port_init();
|
||||||
@ -589,7 +593,6 @@ int __attribute__((used)) main(void) {
|
|||||||
|
|
||||||
#if 0 //XXX
|
#if 0 //XXX
|
||||||
{
|
{
|
||||||
extern void dbg_dump_reset_reason(void);
|
|
||||||
dbg_dump_reset_reason();
|
dbg_dump_reset_reason();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user