Skip to content

Commit e4cd75b

Browse files
committed
Wait at least 1ms if no TIM_FFB defined
1 parent 23734b0 commit e4cd75b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Firmware/FFBoard/UserExtensions/Src/FFBHIDMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void FFBHIDMain::Run(){
110110
#endif
111111
while(true){
112112
#ifndef TIM_FFB
113-
while(ffb_rate_counter++ < ffb_rate_divider){
113+
while(ffb_rate_counter++ <= ffb_rate_divider){
114114
Delay(1);
115115
}
116116
ffb_rate_counter = 0;

0 commit comments

Comments
 (0)