Rename function

This commit is contained in:
samuelbles07
2024-10-21 00:22:50 +07:00
parent 2ffe0a62aa
commit f7e1363da9
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define json_prop_pmFirmware "firmware"
void Measurements::maxUpdate(MeasurementType type, int max) {
void Measurements::maxPeriod(MeasurementType type, int max) {
switch (type) {
case Temperature:
_temperature[0].update.max = max;

View File

@ -58,7 +58,7 @@ public:
* @param type the target measurement type to set
* @param max the maximum period length
*/
void maxUpdate(MeasurementType, int max);
void maxPeriod(MeasurementType, int max);
/**
* @brief update target measurement type with new value.