This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix delay when yield longer than 1ms
teensy4-core
PaulStoffregen
9 years ago
parent
2765de0801
commit
59a7b221fa
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
teensy3/pins_teensy.c
+ 1
- 1
teensy3/pins_teensy.c
View File
@@ -1100,7 +1100,7 @@ void delay(uint32_t ms)
if (ms > 0) {
while (1) {
if
((micros() - start) >= 1000) {
while
((micros() - start) >= 1000) {
ms--;
if (ms == 0) return;
start += 1000;
Write
Preview
Loading…
Cancel
Save