Skip to content

Commit

Permalink
Merge pull request #7573 from iNavFlight/dzikuvx-fix-f7-h7-msc-on-win…
Browse files Browse the repository at this point in the history
…dows

Fix MSC on windows with F7 and H7
  • Loading branch information
DzikuVx authored Nov 8, 2021
2 parents 3b77031 + f7b4e75 commit b0aa8ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/main/drivers/usb_msc_f7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ uint8_t mscStart(void)

USBD_Start(&USBD_Device);

persistentObjectWrite(PERSISTENT_OBJECT_RESET_REASON, RESET_NONE);

// NVIC configuration for SYSTick
NVIC_DisableIRQ(SysTick_IRQn);
NVIC_SetPriority(SysTick_IRQn, 0);
Expand Down
2 changes: 0 additions & 2 deletions src/main/drivers/usb_msc_h7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ uint8_t mscStart(void)

USBD_Start(&USBD_Device);

persistentObjectWrite(PERSISTENT_OBJECT_RESET_REASON, RESET_NONE);

// NVIC configuration for SYSTick
NVIC_DisableIRQ(SysTick_IRQn);
NVIC_SetPriority(SysTick_IRQn, 0);
Expand Down

0 comments on commit b0aa8ee

Please sign in to comment.