keep fuckin
This commit is contained in:
@@ -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
|
||||
|
||||
3
main.cpp
3
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<std::function<void(std::stop_token st, Sensors * s)>> funcs = {displayThread, hassThread, sensorsThread};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user