From: Keith Packard Date: Mon, 24 Feb 2025 21:09:51 +0000 (-0800) Subject: altos: Allow telebt test code to redefine how BT panics are handled X-Git-Tag: 1.9.20~1^2~17 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8a021c9280ec88cf27302ca9ce09daed0b0ca3e7;p=fw%2Faltos altos: Allow telebt test code to redefine how BT panics are handled Want to provide a consistent UX for seeed QA Signed-off-by: Keith Packard --- diff --git a/src/drivers/ao_rn4678.c b/src/drivers/ao_rn4678.c index 3c07e721..a7fb07d3 100644 --- a/src/drivers/ao_rn4678.c +++ b/src/drivers/ao_rn4678.c @@ -345,6 +345,7 @@ ao_rn_isr(void) ao_wakeup(&ao_rn_connected); } +#ifndef ao_bt_panic static void ao_bt_panic(int where) { @@ -361,6 +362,7 @@ ao_bt_panic(int where) } } } +#endif static uint8_t ao_rn_stdio;