mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-09 00:13:41 +00:00
Bugfixes
This commit is contained in:
parent
9b1b5e3b5a
commit
1e64875915
21 changed files with 405 additions and 74 deletions
|
|
@ -216,7 +216,7 @@ void usb_init(usbd_recv_callback_t receive_callback) {
|
|||
USBD_Init(&hUsbDeviceFS, &FS_Desc, 0);
|
||||
USBD_RegisterClass(&hUsbDeviceFS, &USBD_ClassDriver);
|
||||
USBD_Start(&hUsbDeviceFS);
|
||||
HAL_NVIC_SetPriority(USB_FS_IRQn, 0, 0);
|
||||
HAL_NVIC_SetPriority(USB_FS_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(USB_FS_IRQn);
|
||||
}
|
||||
bool usb_transmit(const uint8_t *data, uint16_t length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue