From 8a021c9280ec88cf27302ca9ce09daed0b0ca3e7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 24 Feb 2025 13:09:51 -0800 Subject: [PATCH] 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 --- src/drivers/ao_rn4678.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.2