We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfd6fe6 + 76b7bb4 commit 32fa9b2Copy full SHA for 32fa9b2
libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
@@ -75,7 +75,7 @@ static uint8_t addr = 0;
75
static uint32_t Data1 = 0x55555555;
76
77
static uint32_t frameNumber() {
78
- return((USB0->FRMNUML | (USB0->FRMNUMH << 8) & 0x07FF));
+ return((USB0->FRMNUML | (USB0->FRMNUMH << 8)) & 0x07FF);
79
}
80
81
uint32_t USBHAL::endpointReadcore(uint8_t endpoint, uint8_t *buffer) {
0 commit comments