remove incorrect default from PICO_PANIC_FUNCTION PICO_CONFIG entry

This commit is contained in:
graham sanderson 2021-06-03 10:42:31 -05:00
parent 45a1e08265
commit fdf695b8d8

View File

@ -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)