From 10495ed427d1b3520f56fdb5b4d7c00173c97b83 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 7 Jan 2022 14:35:43 +0100 Subject: rfnoc: radio: Fix comment in radio_control_impl As Github user johnwstanford kindly points out, the comment was incorrect. --- host/lib/rfnoc/radio_control_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/rfnoc/radio_control_impl.cpp b/host/lib/rfnoc/radio_control_impl.cpp index 131c879b7..a5c69e229 100644 --- a/host/lib/rfnoc/radio_control_impl.cpp +++ b/host/lib/rfnoc/radio_control_impl.cpp @@ -991,7 +991,7 @@ void radio_control_impl::async_message_handler( } // Reminder: The address is calculated as: // BASE + 64 * chan + addr_offset - // BASE == 0x0000 for RX, 0x1000 for TX + // BASE == 0x0000 for TX, 0x1000 for RX const uint32_t addr_base = (addr >= regmap::SWREG_RX_ERR) ? regmap::SWREG_RX_ERR : regmap::SWREG_TX_ERR; const uint32_t chan = (addr - addr_base) / regmap::SWREG_CHAN_OFFSET; -- cgit v1.2.3