mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-02 15:34:51 +01:00
remove incorrect default from PICO_PANIC_FUNCTION PICO_CONFIG entry
This commit is contained in:
parent
45a1e08265
commit
fdf695b8d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue