projects
/
Servomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466e1b4
)
Fix type mismatch in interruptable_delay
author
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Tue, 10 Dec 2024 15:29:37 +0000
(16:29 +0100)
committer
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Tue, 10 Dec 2024 15:29:37 +0000
(16:29 +0100)
helpers.ino
patch
|
blob
|
history
diff --git
a/helpers.ino
b/helpers.ino
index accb6f1593fc5547e7f9e2842ee9ef914368707f..8130de197c447ad97d0d11bc991dd79154161045 100644
(file)
--- a/
helpers.ino
+++ b/
helpers.ino
@@
-9,7
+9,7
@@
static void interrupt_routine()
int interruptable_delay(unsigned long ms)
{
- const unsigned
int
start_time{millis()};
+ const unsigned
long
start_time{millis()};
while (ms > millis() - start_time)
if (interrupt_happened == 1)
@@
-40,4
+40,3
@@
void sleep()
else
interrupts();
}
-