From fd48556ff8153e541e53d520059d7a311d466d3f Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 14 Sep 2025 00:13:43 +0200 Subject: [PATCH] keep fuckin --- README.md | 1 + main.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69f84d6..7e4e6b6 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Same as plugins. Just write more features scrub, learn some C++, damn - Need shared pointer after all? something is crashing - centering func - suspend/resume still broken +- try to be c++23, avoid globals, use naming conventions, avoid c way of doing things unless it makes more sense ## LCD layout It looks something like this diff --git a/main.cpp b/main.cpp index 381cf3d..b91780b 100644 --- a/main.cpp +++ b/main.cpp @@ -136,9 +136,8 @@ int main(int argc, char* argv[]) { std::signal(SIGTERM, sighandler); // std::println("[Thread] Main thread, pid {}", gettid()); - // not worth using smart pointer, we dont need to fw pointer ownership Sensors* pSensors = new Sensors; - std::println("sensors: {}", sizeof(Sensors)); + // std::println("sensors addr: {}\nsensors.gpu addr", (void*)pSensors, pSensors->gpu); std::vector> funcs = {displayThread, hassThread, sensorsThread};