refactor hal
This commit is contained in:
@@ -45,17 +45,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static inline void hal_interrupt_enable(uint8_t coreid)
|
||||
{
|
||||
(void) coreid; // discard compiler's warning
|
||||
NVIC_EnableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
static inline void hal_interrupt_disable(uint8_t coreid)
|
||||
{
|
||||
(void) coreid; // discard compiler's warning
|
||||
NVIC_DisableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user