Upravy na novy Chronos
This commit is contained in:
parent
4c6627a4bd
commit
8a6c2946a4
@ -71,7 +71,7 @@ void TraceAsyncWebsocket::loop()
|
||||
void TraceAsyncWebsocket::init()
|
||||
{
|
||||
|
||||
Chronos::attachMs(TRACEWS_CHECK_INTERVAL, this);
|
||||
Chronos::attach(this, TRACEWS_CHECK_INTERVAL);
|
||||
}
|
||||
|
||||
String TraceAsyncWebsocket::_getText(const char * buffer)
|
||||
|
@ -46,7 +46,7 @@ struct TraceLine {
|
||||
TraceLine() = default;
|
||||
};
|
||||
|
||||
class TraceAsyncWebsocket final : public Trace, public Loop {
|
||||
class TraceAsyncWebsocket final : public Trace, Loop {
|
||||
protected:
|
||||
TraceLine _lines[MAX_TRACE_LINES];
|
||||
uint16_t _lines_index = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user