From d21f01f7b47e339c3dad12fe34d8bc6a9bb78a2a Mon Sep 17 00:00:00 2001
From: Martin Ling <martin-git@earth.li>
Date: Tue, 26 Nov 2024 19:04:42 +0000
Subject: [PATCH 17/75] In conditional branch table, list one destination per
 line, in order.

---
 firmware/hackrf_usb/sgpio_m0.s | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/firmware/hackrf_usb/sgpio_m0.s b/firmware/hackrf_usb/sgpio_m0.s
index bb1b6645..4de55470 100644
--- a/firmware/hackrf_usb/sgpio_m0.s
+++ b/firmware/hackrf_usb/sgpio_m0.s
@@ -430,12 +430,26 @@ as follows:
 
 Routine:                Uses conditional branches to:
 
-idle                    tx_loop, wait_loop
+idle                    tx_loop
+                        wait_loop
+
 tx_zeros                tx_loop
+
 checked_rollback        idle
-tx_loop                 tx_zeros, checked_rollback, rx_loop, wait_loop
-wait_loop               rx_loop, tx_loop
-rx_loop                 rx_shortfall, checked_rollback, tx_loop, wait_loop
+
+tx_loop                 tx_zeros
+                        checked_rollback
+                        wait_loop
+                        rx_loop
+
+wait_loop               tx_loop
+                        rx_loop
+
+rx_loop                 checked_rollback
+                        tx_loop
+                        wait_loop
+                        rx_shortfall
+
 rx_shortfall            rx_loop
 
 If any of these routines are reordered, or made longer, you may get an error
-- 
2.47.3

