Commit Graph

85 Commits

Author SHA1 Message Date
8c83bf9df1 its int by default appearently. why. 2026-01-02 18:00:33 +01:00
0e060f15f9 align structs, idk if it does anything 2026-01-02 17:53:36 +01:00
9d1b50882b f/w fncs 2026-01-02 15:47:33 +01:00
53d8acc671 use std::array instead of c-style bufs 2026-01-02 13:55:21 +01:00
27350122b2 simplify readFile, use std::array instead of c-style bufs 2026-01-02 13:43:56 +01:00
abda377808 speed ts up 2026-01-02 12:43:53 +01:00
c0af0dee95 unify fastReadNum 2026-01-02 12:24:33 +01:00
a54b89bce8 whole lotta shit clion made me do 2026-01-02 01:44:20 +01:00
d6a7179ba5 yuge optimization of fastreadnum 2026-01-02 01:44:06 +01:00
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
adac422179 get rid of macros 2026-01-01 16:34:24 +01:00
0dc78be629 move out everything out of main into a separate file 2025-12-28 22:01:37 +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
fb9bf7d29c tell logs to chill 2025-12-28 13:55:36 +01:00
d873837660 it was colliding with math log, renamed to applog 2025-12-28 13:40:01 +01:00
f5d2e46015 switch to nlohmann json 2025-12-28 13:07:22 +01:00
39f47a4862 logger updates 2025-12-27 14:56:28 +01:00
d4c7ffdfc1 prettier logger 2025-12-22 14:06:40 +01:00
d5df47b24e make logging to file optional 2025-12-22 12:45:41 +01:00
dcd338ac75 we gotta move this to a sane location 2025-12-14 15:53:01 +01:00
7aa4c13824 commency 2025-12-14 15:50:18 +01:00
fbf2a64684 use pointers to strings 2025-12-14 15:14:23 +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
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
19a801459c we deleted that too 2025-11-02 15:15:22 +01:00
Drath
fa0eeabf72 cleanup, refactor 2025-11-02 14:44:33 +01:00
Drath
1689bf1b35 bro... 2025-11-02 14:30:15 +01:00
Drath
352166cbe8 description, also make it 64 bit 2025-11-02 12:53:48 +01:00
Drath
d7c12ca14d ! NEW FUNC ! (macro actually) 2025-11-02 12:37:08 +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
68cd4b0bfe clangify includes 2025-10-29 01:26:47 +01:00
Drath Vader
019a25eda2 log in local time 2025-10-24 15:10:32 +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
6e4e23e097 clang was complaining about LOG::DBG, ig thats fair 2025-10-24 12:26:51 +02:00
Drath Vader
47e217c0b6 enable logging 2025-10-24 12:24:58 +02:00
Drath Vader
75e8147f90 remove unused comments 2025-10-24 12:13:44 +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
Drath
54bbc8c117 disable logs 2025-10-23 13:01:51 +02:00
Drath Vader
90581aa8fd stole a trick from btop to measure power 2025-10-21 15:30:22 +02:00
Drath
b48835e8d5 comment out unused sensors for SPEED 2025-10-07 18:30:38 +02:00
Drath
729b980f4e make the chip configrabe 2025-10-07 18:30:18 +02:00
Drath
9ec37e2f14 turns out we can read motherboard sensors 2025-10-07 18:25:40 +02:00