mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-10 16:59:52 +01:00
do not derive MessageOutput from Print
force us to use ESP_LOGx macros to log messages. print*() functions are no longer available through MessageOutput.
This commit is contained in:
committed by
Thomas Basler
parent
466f584737
commit
5c89460e14
@@ -11,12 +11,11 @@
|
||||
#include <queue>
|
||||
#include <memory>
|
||||
|
||||
class MessageOutputClass : public Print {
|
||||
class MessageOutputClass {
|
||||
public:
|
||||
MessageOutputClass();
|
||||
void init(Scheduler& scheduler);
|
||||
size_t write(uint8_t c) override;
|
||||
size_t write(const uint8_t* buffer, size_t size) override;
|
||||
size_t write(const uint8_t* buffer, size_t size);
|
||||
void register_ws_output(AsyncWebSocket* output);
|
||||
|
||||
static int log_vprintf(const char *fmt, va_list arguments);
|
||||
|
||||
Reference in New Issue
Block a user