mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
lib: silence pico "old-style-definition" warnings
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
25a23cd420
commit
318d13a812
@ -267,6 +267,8 @@ static inline void __attribute__((noreturn)) reset_usb_boot(uint32_t usb_activit
|
|||||||
rom_reset_usb_boot(usb_activity_gpio_pin_mask, disable_interface_mask);
|
rom_reset_usb_boot(usb_activity_gpio_pin_mask, disable_interface_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wold-style-definition"
|
||||||
/*!
|
/*!
|
||||||
* \brief Connect the SSI/QMI to the QSPI pads
|
* \brief Connect the SSI/QMI to the QSPI pads
|
||||||
* \ingroup pico_bootrom
|
* \ingroup pico_bootrom
|
||||||
@ -414,6 +416,8 @@ static inline void rom_flash_enter_cmd_xip() {
|
|||||||
func();
|
func();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#if !PICO_RP2040
|
#if !PICO_RP2040
|
||||||
#ifdef __riscv
|
#ifdef __riscv
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user