Replaced Logger usage with LOG_x (#548)
This commit is contained in:
committed by
GitHub
parent
ecad2248d9
commit
9d5993930d
@@ -5,7 +5,9 @@
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
|
||||
static const auto LOGGER = tt::Logger("FreeRTOS");
|
||||
#include <tactility/log.h>
|
||||
|
||||
constexpr auto* TAG = "FreeRTOS";
|
||||
|
||||
namespace simulator {
|
||||
|
||||
@@ -16,10 +18,10 @@ void setMain(MainFunction newMainFunction) {
|
||||
}
|
||||
|
||||
static void freertosMainTask(void* parameter) {
|
||||
LOGGER.info("starting app_main()");
|
||||
LOG_I(TAG, "starting app_main()");
|
||||
assert(simulator::mainFunction);
|
||||
mainFunction();
|
||||
LOGGER.info("returned from app_main()");
|
||||
LOG_I(TAG, "returned from app_main()");
|
||||
vTaskDelete(nullptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user