Revert "Set the USB interrupt priority to the maximum possible"
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include "usb_api.h"
|
||||
#include "slave_scheduler.h"
|
||||
#include "bootloader/wormhole.h"
|
||||
#include "usb_composite_device.h"
|
||||
|
||||
bool IsBusPalOn;
|
||||
volatile uint32_t I2cMainBusRequestedBaudRateBps = I2C_MAIN_BUS_NORMAL_BAUD_RATE;
|
||||
@@ -70,7 +69,7 @@ static void initInterruptPriorities(void)
|
||||
NVIC_SetPriority(PIT_KEY_SCANNER_IRQ_ID, 4);
|
||||
NVIC_SetPriority(PIT_KEY_DEBOUNCER_IRQ_ID, 4);
|
||||
NVIC_SetPriority(I2C_MAIN_BUS_IRQ_ID, 4);
|
||||
NVIC_SetPriority(USB_IRQ_ID, USB_DEVICE_INTERRUPT_PRIORITY);
|
||||
NVIC_SetPriority(USB_IRQ_ID, 4);
|
||||
}
|
||||
|
||||
static void delay(void)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
// Macros:
|
||||
|
||||
#define CONTROLLER_ID kUSB_ControllerKhci0
|
||||
#define USB_DEVICE_INTERRUPT_PRIORITY 5
|
||||
#define USB_DEVICE_INTERRUPT_PRIORITY 3
|
||||
|
||||
// Typedefs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user