diff --git a/Source/Horizon-OC-Monitor/source/modes/Micro.hpp b/Source/Horizon-OC-Monitor/source/modes/Micro.hpp index 14ab87af..0a805643 100644 --- a/Source/Horizon-OC-Monitor/source/modes/Micro.hpp +++ b/Source/Horizon-OC-Monitor/source/modes/Micro.hpp @@ -997,9 +997,10 @@ public: /* ── RAM voltage ───────────────────────────── */ if (settings.realVolts && (settings.showVDD2 || settings.showVDDQ)) { /* realRAM_mV packs VDD2 | VDDQ in 10-µV units * - * → split, convert to mV */ - const float mv_vdd2 = (realRAM_mV / 10000) / 10.0f; // VDD2 - const uint32_t mv_vddq = (realRAM_mV % 100000) / 10; // VDDQ + * → split, convert to mV + */ + const float mv_vdd2 = (realRAM_mV % 100000) / 10.0f; // VDD2 + const uint32_t mv_vddq = (realRAM_mV / 10000) / 10; // VDDQ // Build voltage string based on settings RAM_volt_c[0] = '\0'; // Start with empty string diff --git a/Source/Horizon-OC-Monitor/source/modes/Mini.hpp b/Source/Horizon-OC-Monitor/source/modes/Mini.hpp index 7a4e66b9..34938fcb 100644 --- a/Source/Horizon-OC-Monitor/source/modes/Mini.hpp +++ b/Source/Horizon-OC-Monitor/source/modes/Mini.hpp @@ -1190,10 +1190,10 @@ public: } if (settings.realVolts) { - const float mv_vdd2_f = realRAM_mV / 100000.0f; - const uint32_t mv_vdd2_i = realRAM_mV / 100000; - const uint32_t mv_vddq = (realRAM_mV % 100000) / 10; - + const float mv_vdd2_f = (realRAM_mV % 100000) / 10.0f; // VDD2 + const uint32_t mv_vddq = (realRAM_mV / 10000) / 10; // VDDQ + const uint32_t mv_vdd2_i = (realRAM_mV % 100000) / 10; + if (isMariko) { if (settings.showVDDQ && settings.showVDD2) { if (settings.decimalVDD2)