Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
71ec3c3e
Commit
71ec3c3e
authored
Feb 14, 2019
by
Jeroen88
Committed by
Me No Dev
Feb 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct millis() error causes by micros() overflow every about 72 minutes (#2438)
parent
8ec76405
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cores/esp32/esp32-hal-misc.c
cores/esp32/esp32-hal-misc.c
+1
-1
No files found.
cores/esp32/esp32-hal-misc.c
View file @
71ec3c3e
...
...
@@ -115,7 +115,7 @@ unsigned long IRAM_ATTR micros()
unsigned
long
IRAM_ATTR
millis
()
{
return
(
unsigned
long
)
(
esp_timer_get_time
()
/
1000
);
return
(
unsigned
long
)
(
esp_timer_get_time
()
/
1000
ULL
);
}
void
delay
(
uint32_t
ms
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment