Skip to content

Fix the logic for default value of USB_INTR_CFG_SET#30

Open
z0nt wants to merge 1 commit intoobdev:masterfrom
z0nt:patch-1
Open

Fix the logic for default value of USB_INTR_CFG_SET#30
z0nt wants to merge 1 commit intoobdev:masterfrom
z0nt:patch-1

Conversation

@z0nt
Copy link

@z0nt z0nt commented Dec 30, 2021

Use if condition instead of ifdef for USB_COUNT_SOF macro which is consistent throughout the code base. USB_COUNT_SOF is set to 0 in usbconfig-prototype.h which causes interrupt to be set to falling edge instead of rising edge as it meant.

Use `if` condition instead of `ifdef` for USB_COUNT_SOF macro which is consistent throughout the code base.  USB_COUNT_SOF is set to 0 in usbconfig-prototype.h which causes interrupt to be set to falling edge instead of rising edge as it meant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant