Skip to content

Commit e17a82d

Browse files
authored
Change __always_inline to __force_inline to suppress GCC errors (#2078)
1 parent 105a2b8 commit e17a82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rp2_common/hardware_xip_cache/xip_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef enum {
2424
// safely from flash, because they are likely to be called during a flash programming operation
2525
// (which makes flash execution momentarily unsafe)
2626

27-
__always_inline static void check_xip_offset_range(uintptr_t start_offset, uintptr_t size_bytes) {
27+
__force_inline static void check_xip_offset_range(uintptr_t start_offset, uintptr_t size_bytes) {
2828
// We use offsets, not addresses, for consistency with the flash API. This means the range of
2929
// valid inputs starts at 0.
3030
(void)start_offset;

0 commit comments

Comments
 (0)