File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,10 +250,10 @@ static s4_t delta_time(u4_t time) {
250250
251251// deal with boards that are stressed by no-interrupt delays #529, etc.
252252#if defined(ARDUINO_DISCO_L072CZ_LRWAN1)
253- # define HAL_WAITUNTIL_DOWNCONNT_MS 16 // on this board, 16 ms works better
253+ # define HAL_WAITUNTIL_DOWNCOUNT_MS 16 // on this board, 16 ms works better
254254# define HAL_WAITUNTIL_DOWNCOUNT_THRESH ms2osticks (16 ) // as does this threashold.
255255#else
256- # define HAL_WAITUNTIL_DWONCOUNT_MS 8 // on most boards, delay for 8 ms
256+ # define HAL_WAITUNTIL_DOWNCOUNT_MS 8 // on most boards, delay for 8 ms
257257# define HAL_WAITUNTIL_DOWNCOUNT_THRESH ms2osticks (9 ) // but try to leave a little slack for final timing.
258258#endif
259259
@@ -272,7 +272,7 @@ u4_t hal_waitUntil (u4_t time) {
272272 // will exit loop with delta typically positive.
273273 // Depends on BSP keeping time accurately even if interrupts
274274 // are disabled.
275- delay (HAL_WAITUNTIL_DWONCOUNT_MS );
275+ delay (HAL_WAITUNTIL_DOWNCOUNT_MS );
276276 // re-synchronize.
277277 delta = delta_time (time);
278278 }
You can’t perform that action at this time.
0 commit comments