Change __always_inline to __force_inline to suppress GCC errors (#2078)

This commit is contained in:
Andrew Scheller 2024-11-21 00:06:50 +00:00 committed by GitHub
parent 105a2b89d5
commit e17a82d291
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ typedef enum {
// safely from flash, because they are likely to be called during a flash programming operation
// (which makes flash execution momentarily unsafe)
__always_inline static void check_xip_offset_range(uintptr_t start_offset, uintptr_t size_bytes) {
__force_inline static void check_xip_offset_range(uintptr_t start_offset, uintptr_t size_bytes) {
// We use offsets, not addresses, for consistency with the flash API. This means the range of
// valid inputs starts at 0.
(void)start_offset;