Skip to content

Commit

Permalink
remove incorrect default from PICO_PANIC_FUNCTION PICO_CONFIG entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Jun 3, 2021
1 parent 45a1e08 commit fdf695b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rp2_common/pico_runtime/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void __attribute__((noreturn)) panic_unsupported() {
panic("not supported");
}

// PICO_CONFIG: PICO_PANIC_FUNCTION, Name of a function to use in place of the stock panic function or empty string to simply breakpoint on panic, default=panic, group=pico_runtime
// PICO_CONFIG: PICO_PANIC_FUNCTION, Name of a function to use in place of the stock panic function or empty string to simply breakpoint on panic, group=pico_runtime
// note the default is not "panic" it is undefined
#ifdef PICO_PANIC_FUNCTION
#define PICO_PANIC_FUNCTION_EMPTY (__CONCAT(PICO_PANIC_FUNCTION, 1) == 1)
Expand Down

0 comments on commit fdf695b

Please sign in to comment.