#define RCC_APB1ENR RCC + 0x16
Error in bootloader hardware.h
(4 posts) (3 voices)-
Posted 5 years ago #
-
x893, sorry what is the error?
I'd expect it to read
#define RCC_APB1ENR (RCC + 0x16)
right?Posted 5 years ago # -
Currently not used in bootloader (hardcoded) but must be +0x1C
Posted 5 years ago # -
x893 - thanks!
gbulmer - you may have noticed that there are quite a few improperly parenthesized macros lying around in our codebases; i'm fixing them as i see them. sorry for the bugs.
edit:
https://github.com/leaflabs/maple-bootloader/commit/d329633e1c886e89514092cb97f3058d2acc9696Posted 5 years ago #
Reply
You must log in to post.