esp_hw_support: always inline cpu_hal_set_vecbase

This commit is contained in:
Marius Vikhammer
2022-06-22 18:02:53 +08:00
parent 827837dce3
commit a8e9c6b8b2

View File

@@ -136,7 +136,7 @@ static inline void cpu_hal_clear_watchpoint(int id)
* *
* @param base address to move the exception vector table to * @param base address to move the exception vector table to
*/ */
static inline void cpu_hal_set_vecbase(const void *base) static inline __attribute__((always_inline)) void cpu_hal_set_vecbase(const void *base)
{ {
esp_cpu_intr_set_ivt_addr(base); esp_cpu_intr_set_ivt_addr(base);
} }