Commit Graph

97 Commits

Author SHA1 Message Date
12fdf93377 clonified, should be faster too bc we're avoiding copying 2026-01-01 19:24:41 +01:00
f871dbd2e8 bunch of shit clang-tidy and clion made me do 2026-01-01 16:36:15 +01:00
6f8e2e2abd get rid of macros2 2026-01-01 16:34:55 +01:00
adac422179 get rid of macros 2026-01-01 16:34:24 +01:00
ee46bfea06 remove voltage, fuck zenpower 2025-12-30 13:37:41 +01:00
a6654dcff7 pass by reference instead of passing by pointer, still debating tbh 2025-12-28 22:45:44 +01:00
87580138e0 keeps inserting empty lines for some reason 2025-12-28 22:45:15 +01:00
0dc78be629 move out everything out of main into a separate file 2025-12-28 22:01:37 +01:00
2178d87718 try to fix ts 2025-12-28 21:36:20 +01:00
c7e2447932 refactor utils 2025-12-28 19:55:38 +01:00
2d3a481638 get rid of macro, use inline func 2025-12-28 19:06:23 +01:00
d873837660 it was colliding with math log, renamed to applog 2025-12-28 13:40:01 +01:00
14b03f45f4 format 2025-12-28 13:10:36 +01:00
f5d2e46015 switch to nlohmann json 2025-12-28 13:07:22 +01:00
246e0b9997 stop fucking with it bro 2025-12-28 00:54:19 +01:00
9ddabed000 todo upd 2025-12-28 00:54:00 +01:00
d4c7ffdfc1 prettier logger 2025-12-22 14:06:40 +01:00
fbf2a64684 use pointers to strings 2025-12-14 15:14:23 +01:00
5ef94e88bf man 2025-12-14 15:03:31 +01:00
e6ec18eccf cleanup 2025-12-14 15:02:34 +01:00
bc3f911f60 get rid of read to str 2025-12-14 15:02:23 +01:00
a271711441 rename funcs, move get_val 2025-12-14 14:45:06 +01:00
cd94018426 make sys sensor reading more robust 2025-12-13 21:19:48 +01:00
Drath Vader
ae916d47e3 use string pointers, no copy 2025-11-28 01:43:59 +01:00
Drath Vader
47c45e8d9e more readable this way 2025-11-27 20:20:59 +01:00
Drath Vader
f86d40241e i was never checking the return value of write 2025-11-27 15:23:17 +01:00
Drath
9657523f3e why? 2025-11-02 14:59:57 +01:00
Drath
36c9033cd2 idk why i had this 2025-11-02 14:59:50 +01:00
Drath
fa0eeabf72 cleanup, refactor 2025-11-02 14:44:33 +01:00
Drath
a34624a97f thats not the problem but we can make it less ambiguous anyway 2025-11-02 13:41:36 +01:00
Drath
5516829694 we can simply memcpy instead 2025-11-02 13:25:48 +01:00
Drath
80dda33198 use the new macro 2025-11-02 12:53:34 +01:00
Drath
4324379b8e use the new macro, refactor a lil 2025-11-02 12:38:15 +01:00
Drath
702fc5387d use the new macro 2025-11-02 12:38:03 +01:00
Drath
0ba09a57e4 have disks have its own struct 2025-10-29 18:37:53 +01:00
Drath
25cee5f669 cleanup lcddisplay a lil 2025-10-29 18:29:13 +01:00
Drath
7ca15ad021 clang didnt like dynamic array 2025-10-29 01:51:01 +01:00
Drath
68cd4b0bfe clangify includes 2025-10-29 01:26:47 +01:00
Drath
33f343fa0a we only read power from rapl now 2025-10-29 01:19:17 +01:00
Drath
2f98b6686c clearigy what im actually measuring 2025-10-28 19:57:38 +01:00
Drath Vader
58e8e80ad1 clearer log message 2025-10-24 15:11:17 +02:00
Drath Vader
3ccaa513b3 c++ify time/date, clean up includes while we're at it 2025-10-24 15:10:14 +02:00
Drath Vader
5e42c45e28 add network monitoring 2025-10-24 14:04:27 +02:00
Drath Vader
0c4e4ced8e make it stfu about opening/closing port since we do it every loop 2025-10-24 12:24:42 +02:00
Drath Vader
798a38a794 i might be restarted 2025-10-24 12:20:50 +02:00
Drath Vader
b24c01b159 bro was this bug here all along and i never noticed 2025-10-24 12:13:10 +02:00
Drath Vader
30b4353c7e this is what most software reads 2025-10-24 11:56:31 +02:00
Drath Vader
8b403d7fce bro... 2025-10-24 11:36:42 +02:00
Drath
563fe0d2e1 Merge branch 'main' of https://github.com/elektroencefalografista/linuxSmartie 2025-10-23 13:04:01 +02:00
Drath
69b0291205 open and close funcs 2025-10-23 13:02:45 +02:00