From d94f81992ee91c16806aa12dfb8ebe31173badab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Metrich?= <45318189+FredM67@users.noreply.github.com> Date: Fri, 19 Jan 2024 12:21:27 +0100 Subject: [PATCH] Change param --- Mk2_3phase_RFdatalog_temp/calibration.h | 2 +- Mk2_3phase_RFdatalog_temp/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mk2_3phase_RFdatalog_temp/calibration.h b/Mk2_3phase_RFdatalog_temp/calibration.h index 04a74403..0db8946e 100644 --- a/Mk2_3phase_RFdatalog_temp/calibration.h +++ b/Mk2_3phase_RFdatalog_temp/calibration.h @@ -31,7 +31,7 @@ // powerCal is the RECIPROCAL of the power conversion rate. A good value // to start with is therefore 1/20 = 0.05 (Watts per ADC-step squared) // -inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.05000F, 0.05000F, 0.05000F }; +inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.044F, 0.044F, 0.045F }; // // f_phaseCal is used to alter the phase of the voltage waveform relative to the current waveform. // The algorithm interpolates between the most recent pair of voltage samples according to the value of f_phaseCal. diff --git a/Mk2_3phase_RFdatalog_temp/config.h b/Mk2_3phase_RFdatalog_temp/config.h index d549d40a..468c67d7 100644 --- a/Mk2_3phase_RFdatalog_temp/config.h +++ b/Mk2_3phase_RFdatalog_temp/config.h @@ -46,7 +46,7 @@ inline constexpr bool OVERRIDE_PIN_PRESENT{ true }; /**< man #else inline constexpr bool EMONESP_CONTROL{ false }; inline constexpr bool DIVERSION_PIN_PRESENT{ false }; /**< set it to 'true' if you want to control diversion ON/OFF */ -inline constexpr RotationModes PRIORITY_ROTATION{ RotationModes::OFF }; /**< set it to 'OFF/AUTO/PIN' if you want manual/automatic rotation of priorities */ +inline constexpr RotationModes PRIORITY_ROTATION{ RotationModes::AUTO }; /**< set it to 'OFF/AUTO/PIN' if you want manual/automatic rotation of priorities */ inline constexpr bool OVERRIDE_PIN_PRESENT{ false }; /**< set it to 'true' if there's a override pin */ #endif