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
f1acc432
Unverified
Commit
f1acc432
authored
Apr 04, 2022
by
GitNik1
Committed by
GitHub
Apr 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Ticker::Active crash if _ticker null (#6511) (#6513)
parent
6fe1c4c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
libraries/Ticker/src/Ticker.cpp
libraries/Ticker/src/Ticker.cpp
+1
-0
No files found.
libraries/Ticker/src/Ticker.cpp
View file @
f1acc432
...
...
@@ -58,5 +58,6 @@ void Ticker::detach() {
}
bool
Ticker
::
active
()
{
if
(
!
_timer
)
return
false
;
return
esp_timer_is_active
(
_timer
);
}
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