Typo in bcm2835_regbase()

16 views
Skip to first unread message

hen...@open-source.se

unread,
Oct 25, 2025, 5:29:09 PM (5 days ago) Oct 25
to bcm2835
It seems that line 176 in bcm2835.c (version 1.75) contains a copy-paste error.

@@ -173,7 +173,7 @@
        case BCM2835_REGBASE_BSC0:
            return (uint32_t *)bcm2835_bsc0;
        case BCM2835_REGBASE_BSC1:
-           return (uint32_t *)bcm2835_st;
+           return (uint32_t *)bcm2835_bsc1;
        case BCM2835_REGBASE_AUX:
            return (uint32_t *)bcm2835_aux;
        case BCM2835_REGBASE_SPI1:

/Henrik

Mike McCauley

unread,
Oct 25, 2025, 8:08:58 PM (5 days ago) Oct 25
to bcm...@googlegroups.com
Thanks. We will look into that soon

Sent from my iPhone

On 26 Oct 2025, at 7:29 am, hen...@open-source.se <hen...@open-source.se> wrote:

It seems that line 176 in bcm2835.c (version 1.75) contains a copy-paste error.
--
You received this message because you are subscribed to the Google Groups "bcm2835" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcm2835+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bcm2835/8f1aac78-16b0-4857-9a3e-b79b6f3772f4n%40googlegroups.com.

Mike McCauley

unread,
Oct 28, 2025, 5:43:27 PM (2 days ago) Oct 28
to bcm2835, hen...@open-source.se

Thanks Henrik,

you are correct. It will be fixed in the next release.

--

Mike McCauley           VK4AMM                   mi...@airspayce.com

Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia  

http://www.airspayce.com                                 5R3MRFM2+X6

Phone +61 7 5598-7474


Reply all
Reply to author
Forward
0 new messages