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};