Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh committed Aug 1, 2023
1 parent 4ac1eaa commit 528fbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ void dcd_int_handler(uint8_t rhport) {

// Only handle interrupts which are triggered and currently active
uint32_t int_status = USB->ISTR;
int_status & = USB->CNTR;
int_status &= USB->CNTR;

// Only continue if there is something to do
if (!int_status) {
Expand Down

0 comments on commit 528fbaa

Please sign in to comment.