Skip to content

Commit 9a1c4e5

Browse files
committed
Revert
1 parent c2dfadf commit 9a1c4e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: libraries/Ticker/src/Ticker.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Ticker::Ticker() :
2828
_timer(nullptr) {}
2929

3030
Ticker::~Ticker() {
31-
detach();
31+
detach();
3232
}
3333

3434
void Ticker::_attach_us(uint64_t micros, bool repeat, callback_with_arg_t callback, void* arg) {

Diff for: libraries/Ticker/src/Ticker.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*
1+
/*
22
Ticker.h - esp32 library that calls functions periodically
33
44
Copyright (c) 2017 Bert Melis. All rights reserved.
5-
5+
66
Based on the original work of:
77
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
88
The original version is part of the esp8266 core for Arduino environment.
@@ -123,7 +123,7 @@ class Ticker
123123
void detach();
124124
bool active() const;
125125

126-
protected:
126+
protected:
127127
static void _static_callback(void* arg);
128128

129129
callback_function_t _callback_function = nullptr;

0 commit comments

Comments
 (0)