Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Nov 1, 2024
1 parent a5aa854 commit 1939c01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Mk2_3phase_RFdatalog_temp/processing.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ inline volatile bool b_diversionOff{ false }; /**< async trigger t
inline volatile int32_t copyOf_sumP_atSupplyPoint[NO_OF_PHASES]; /**< copy of cumulative power per phase */
inline volatile int32_t copyOf_sum_Vsquared[NO_OF_PHASES]; /**< copy of for summation of V^2 values during datalog period */
inline volatile float copyOf_energyInBucket_main; /**< copy of main energy bucket (over all phases) */
inline volatile uint8_t copyOf_lowestNoOfSampleSetsPerMainsCycle; /**< */
inline volatile uint8_t copyOf_lowestNoOfSampleSetsPerMainsCycle; /**< copy of a mechanism to check the integrity of this code structure */
inline volatile uint16_t copyOf_sampleSetsDuringThisDatalogPeriod; /**< copy of for counting the sample sets during each datalogging period */
inline volatile uint16_t copyOf_countLoadON[NO_OF_DUMPLOADS]; /**< copy of number of cycle the load was ON (over 1 datalog period) */

Expand Down
3 changes: 1 addition & 2 deletions Mk2_3phase_RFdatalog_temp/validation.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ static_assert(!EMONESP_CONTROL || (DIVERSION_PIN_PRESENT && DIVERSION_PIN_PRESEN

static_assert(!RELAY_DIVERSION | (60 / DATALOG_PERIOD_IN_SECONDS * DATALOG_PERIOD_IN_SECONDS == 60), "******** Wrong configuration. DATALOG_PERIOD_IN_SECONDS must be a divider of 60 ! ********");

constexpr uint16_t
check_pins()
constexpr uint16_t check_pins()
{
uint16_t used_pins{ 0 };

Expand Down

0 comments on commit 1939c01

Please sign in to comment.