Skip to content

Commit 19fd616

Browse files
hathachCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent e0155eb commit 19fd616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2. Build at least one representative example (e.g., `examples/device/cdc_msc`) via CMake+Ninja or Make.
2121
3. Run unit tests relevant to touched modules; add fuzz/HIL coverage when modifying parsers or protocol state machines.
2222

23-
## Copilot Agent Notes (`./github/copilot-instruction.md`)
23+
## Copilot Agent Notes (`.github/copilot-instructions.md`)
2424
# TinyUSB
2525
TinyUSB is an open-source cross-platform USB Host/Device stack for embedded systems, designed to be memory-safe with no dynamic allocation and thread-safe with all interrupt events deferred to non-ISR task functions.
2626

src/portable/synopsys/dwc2/dwc2_stm32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ TU_ATTR_ALWAYS_INLINE static inline void dwc2_int_set(uint8_t rhport, tusb_role_
176176
TU_ATTR_ALWAYS_INLINE static inline void dwc2_remote_wakeup_delay(void) {
177177
// try to delay for 1 ms
178178
uint32_t count = SystemCoreClock / 1000;
179-
while ((count--) > 0) {
179+
while (count--) {
180180
__NOP();
181181
}
182182
}

0 commit comments

Comments
 (0)