Skip to content

Commit

Permalink
Centralize defgroups
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Mar 10, 2024
1 parent b173d9a commit b08d716
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 25 deletions.
26 changes: 26 additions & 0 deletions Mk2_3phase_RFdatalog_temp/Mk2_3phase_RFdatalog_temp.ino
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,32 @@
* @copyright Copyright (c) 2024
*
*/

/*!
* @defgroup TimeCritical Time critical functions
* Functions used by the ISR
*/

/*!
* @defgroup RelayDiversion Relay diversion feature
* Functions used for the relay diversion
*/

/*!
* @defgroup TemperatureSensing Temperature sensing feature
* Functions used for the temperature sensing
*/

/*!
* @defgroup DualTariff Dual tariff feature
* Functions used for the dual tariff feature
*/

/*!
* @defgroup RF RF feature
* Functions used for the RF feature
*/

static_assert(__cplusplus >= 201703L, "**** Please define 'gnu++17' in 'platform.txt' ! ****");
static_assert(__cplusplus >= 201703L, "See also : https://github.com/FredM67/PVRouter-3-phase/blob/main/Mk2_3phase_RFdatalog_temp/Readme.md");

Expand Down
5 changes: 0 additions & 5 deletions Mk2_3phase_RFdatalog_temp/processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
#include "processing.h"
#include "utils_pins.h"

/*!
* @defgroup TimeCritical Time critical functions
* Functions used by the ISR
*/

int32_t l_DCoffset_V[NO_OF_PHASES]; /**< <--- for LPF */

// Define operating limits for the LP filters which identify DC offset in the voltage
Expand Down
5 changes: 0 additions & 5 deletions Mk2_3phase_RFdatalog_temp/utils_dualtariff.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@

#include <Arduino.h>

/*!
* @defgroup DualTariff Dual tariff feature
* Functions used for the dual tariff feature
*/

/** @brief Config parameters for overriding a load
* @details This class allows the user to define when and how long a load will be forced at
* full power during off-peak period.
Expand Down
5 changes: 0 additions & 5 deletions Mk2_3phase_RFdatalog_temp/utils_relay.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
#include "ewma_avg.hpp"
#include "utils_pins.h"

/*!
* @defgroup RelayDiversion Relay diversion feature
* Functions used for the relay diversion
*/

/**
* @brief Relay diversion config and engine
*
Expand Down
5 changes: 0 additions & 5 deletions Mk2_3phase_RFdatalog_temp/utils_rf.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
#ifndef _UTILS_RF_H
#define _UTILS_RF_H

/*!
* @defgroup RF RF feature
* Functions used for the RF feature
*/

#ifdef RF_PRESENT
#include <JeeLib.h>

Expand Down
5 changes: 0 additions & 5 deletions Mk2_3phase_RFdatalog_temp/utils_temp.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#include "constants.h"

/*!
* @defgroup TemperatureSensing Temperature sensing feature
* Functions used for the temperature sensing
*/

#ifdef TEMP_ENABLED
inline constexpr bool TEMP_SENSOR_PRESENT{ true }; /**< set it to 'true' if temperature sensing is needed */
#include <OneWire.h> // for temperature sensing
Expand Down

0 comments on commit b08d716

Please sign in to comment.