mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Remove unsupported pragma
This commit is contained in:
parent
3ed30c4411
commit
db86110da6
@ -2,7 +2,6 @@
|
|||||||
#include <usbd_core.h>
|
#include <usbd_core.h>
|
||||||
#include <stm32f4xx_exti.h>
|
#include <stm32f4xx_exti.h>
|
||||||
/* disable optimization for this file */
|
/* disable optimization for this file */
|
||||||
#pragma GCC push_options
|
|
||||||
#pragma GCC optimize ("O0")
|
#pragma GCC optimize ("O0")
|
||||||
#define UNUSED(x) x __attribute__((unused))
|
#define UNUSED(x) x __attribute__((unused))
|
||||||
#define BREAK() __asm__ volatile ("BKPT");
|
#define BREAK() __asm__ volatile ("BKPT");
|
||||||
@ -134,4 +133,3 @@ void OTG_FS_IRQHandler(void)
|
|||||||
{
|
{
|
||||||
USBD_OTG_ISR_Handler (&USB_OTG_Core);
|
USBD_OTG_ISR_Handler (&USB_OTG_Core);
|
||||||
}
|
}
|
||||||
#pragma GCC pop_options
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user