We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e16934 commit 8262a08Copy full SHA for 8262a08
src/rp2_common/pico_bootrom/include/pico/bootrom.h
@@ -118,7 +118,7 @@ typedef void *(*rom_table_lookup_fn)(uint16_t *table, uint32_t code);
118
119
#if PICO_C_COMPILER_IS_GNU && (__GNUC__ >= 12)
120
// Convert a 16 bit pointer stored at the given rom address into a 32 bit pointer
121
-static inline void *rom_hword_as_ptr(uint16_t rom_address) {
+static __force_inline void *rom_hword_as_ptr(uint16_t rom_address) {
122
#pragma GCC diagnostic push
123
#pragma GCC diagnostic ignored "-Warray-bounds"
124
return (void *)(uintptr_t)*(uint16_t *)(uintptr_t)rom_address;
0 commit comments