]> git.gag.com Git - fw/altos/commitdiff
altos: Allow telebt test code to redefine how BT panics are handled
authorKeith Packard <keithp@keithp.com>
Mon, 24 Feb 2025 21:09:51 +0000 (13:09 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 24 Feb 2025 21:09:51 +0000 (13:09 -0800)
Want to provide a consistent UX for seeed QA

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_rn4678.c

index 3c07e7216cc34b3c084bffeee28ce12eed5aa44d..a7fb07d3c5a30d983f581fad0f81c6a4a7abaae3 100644 (file)
@@ -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;