forked from airgradienthq/arduino
Rename function
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#define json_prop_pmFirmware "firmware"
|
#define json_prop_pmFirmware "firmware"
|
||||||
|
|
||||||
void Measurements::maxUpdate(MeasurementType type, int max) {
|
void Measurements::maxPeriod(MeasurementType type, int max) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Temperature:
|
case Temperature:
|
||||||
_temperature[0].update.max = max;
|
_temperature[0].update.max = max;
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
* @param type the target measurement type to set
|
* @param type the target measurement type to set
|
||||||
* @param max the maximum period length
|
* @param max the maximum period length
|
||||||
*/
|
*/
|
||||||
void maxUpdate(MeasurementType, int max);
|
void maxPeriod(MeasurementType, int max);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief update target measurement type with new value.
|
* @brief update target measurement type with new value.
|
||||||
|
Reference in New Issue
Block a user