InfiniTime/src/logging/NrfLogger.h

20 lines
331 B
C
Raw Normal View History

2019-11-17 14:47:04 -05:00
#pragma once
#include "logging/Logger.h"
2019-11-17 14:47:04 -05:00
2020-11-15 09:05:51 -05:00
#include <FreeRTOS.h>
#include <task.h>
2019-11-17 14:47:04 -05:00
namespace Pinetime {
namespace Logging {
2019-11-17 14:47:04 -05:00
class NrfLogger : public Logger {
public:
void Init() override;
void Resume() override;
2019-11-17 14:47:04 -05:00
private:
static void Process(void*);
TaskHandle_t m_logger_thread;
2019-11-17 14:47:04 -05:00
};
}
}