From e25c4edbcf64a62b6a0555722b289a94aea506d1 Mon Sep 17 00:00:00 2001 From: Avamander Date: Fri, 2 Oct 2020 21:45:21 +0300 Subject: [PATCH] Renamed SystemTask/ to systemtask/ --- src/CMakeLists.txt | 6 +++--- src/{SystemTask => systemtask}/SystemMonitor.h | 0 src/{SystemTask => systemtask}/SystemTask.cpp | 10 +++++----- src/{SystemTask => systemtask}/SystemTask.h | 0 4 files changed, 8 insertions(+), 8 deletions(-) rename src/{SystemTask => systemtask}/SystemMonitor.h (100%) rename src/{SystemTask => systemtask}/SystemTask.cpp (97%) rename src/{SystemTask => systemtask}/SystemTask.h (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f5366314..2026471c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -374,7 +374,7 @@ list(APPEND SOURCE_FILES DisplayApp/Fonts/jetbrains_mono_extrabold_compressed.c DisplayApp/Fonts/jetbrains_mono_bold_20.c - SystemTask/SystemTask.cpp + systemtask/SystemTask.cpp drivers/TwiMaster.cpp ) @@ -451,8 +451,8 @@ set(INCLUDE_FILES libs/date/includes/date/ptz.h libs/date/includes/date/tz_private.h DisplayApp/LittleVgl.h - SystemTask/SystemTask.h - SystemTask/SystemMonitor.h + systemtask/SystemTask.h + systemtask/SystemMonitor.h DisplayApp/Screens/Symbols.h drivers/TwiMaster.h ) diff --git a/src/SystemTask/SystemMonitor.h b/src/systemtask/SystemMonitor.h similarity index 100% rename from src/SystemTask/SystemMonitor.h rename to src/systemtask/SystemMonitor.h diff --git a/src/SystemTask/SystemTask.cpp b/src/systemtask/SystemTask.cpp similarity index 97% rename from src/SystemTask/SystemTask.cpp rename to src/systemtask/SystemTask.cpp index 2070282b..24f688e2 100644 --- a/src/SystemTask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -46,7 +46,7 @@ void SystemTask::Start() { void SystemTask::Process(void *instance) { auto *app = static_cast(instance); - NRF_LOG_INFO("SystemTask task started!"); + NRF_LOG_INFO("systemtask task started!"); app->Work(); } @@ -123,7 +123,7 @@ void SystemTask::Work() { break; case Messages::GoToSleep: isGoingToSleep = true; - NRF_LOG_INFO("[SystemTask] Going to sleep"); + NRF_LOG_INFO("[systemtask] Going to sleep"); xTimerStop(idleTimer, 0); displayApp->PushMessage(Pinetime::Applications::DisplayApp::Messages::GoToSleep); break; @@ -196,13 +196,13 @@ void SystemTask::Work() { void SystemTask::OnButtonPushed() { if(isGoingToSleep) return; if(!isSleeping) { - NRF_LOG_INFO("[SystemTask] Button pushed"); + NRF_LOG_INFO("[systemtask] Button pushed"); PushMessage(Messages::OnButtonEvent); displayApp->PushMessage(Pinetime::Applications::DisplayApp::Messages::ButtonPushed); } else { if(!isWakingUp) { - NRF_LOG_INFO("[SystemTask] Button pushed, waking up"); + NRF_LOG_INFO("[systemtask] Button pushed, waking up"); GoToRunning(); } } @@ -215,7 +215,7 @@ void SystemTask::GoToRunning() { void SystemTask::OnTouchEvent() { if(isGoingToSleep) return ; - NRF_LOG_INFO("[SystemTask] Touch event"); + NRF_LOG_INFO("[systemtask] Touch event"); if(!isSleeping) { PushMessage(Messages::OnTouchEvent); displayApp->PushMessage(Pinetime::Applications::DisplayApp::Messages::TouchEvent); diff --git a/src/SystemTask/SystemTask.h b/src/systemtask/SystemTask.h similarity index 100% rename from src/SystemTask/SystemTask.h rename to src/systemtask/SystemTask.h