bpmpfw: cleanup makefile and split hpp/cpp

This commit is contained in:
souldbminersmwc committed 2026-08-27 18:57:15 -04:00
1 parent e5240d835f
commit 3352dffc39
15 files changed
+464 -266

No files matched your search

+1 -10
View File
@@ -22,13 +22,4 @@ constexpr u32 SocthermBase = 0x700E2000;
constexpr u32 SocthermSensorTemp1 = 0x1C8;
constexpr u32 SocthermSensorTemp2 = 0x1CC;
inline s32 TranslateSocthermTemp(u16 val) {
s32 t = ((val >> 8) & 0xFF) * 1000;
if (val & (1u << 7)) {
t += 500;
}
if (val & (1u << 0)) {
t = -t;
}
return t;
}
s32 TranslateSocthermTemp(u16 val);