summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <[email protected]>2026-04-09 10:42:01 +0000
committerGitHub <[email protected]>2026-04-09 10:42:01 +0000
commit84943dbbd54e119248f3585aa1fe9c6496af7069 (patch)
treeec837ebd32540605d4423016882bb5b3d2d0b408 /src
parent2f4792f9e1b5a6f06e6306fe0d0ebce641914791 (diff)
Simplify delay loop comment in shared FSDEV helper
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/portable/st/stm32_fsdev/fsdev_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/st/stm32_fsdev/fsdev_common.c b/src/portable/st/stm32_fsdev/fsdev_common.c
index 4b7c1ad5f..e6c95e12d 100644
--- a/src/portable/st/stm32_fsdev/fsdev_common.c
+++ b/src/portable/st/stm32_fsdev/fsdev_common.c
@@ -123,7 +123,7 @@ void fsdev_btable_workaround_delay(bool low_speed) {
uint32_t cycle_count = low_speed ? CFG_TUSB_FSDEV_BTABLE_LS_DELAY_COUNT : CFG_TUSB_FSDEV_BTABLE_FS_DELAY_COUNT;
volatile uint32_t delay_count = cycle_count;
while (delay_count > 0U) {
- delay_count--; // each count takes 3 cycles (1 for sub, jump, and compare)
+ delay_count--;
}
#else
(void) low_speed;