Apply SEC_TO_MS and other fixes
This commit is contained in:
@@ -71,11 +71,8 @@ class PrintCounter: public Stopwatch {
|
||||
* @brief Interval in seconds between counter updates
|
||||
* @details This const value defines what will be the time between each
|
||||
* accumulator update. This is different from the EEPROM save interval.
|
||||
*
|
||||
* @note The max value for this option is 60(s), otherwise integer
|
||||
* overflow will happen.
|
||||
*/
|
||||
static constexpr uint16_t updateInterval = 10;
|
||||
static constexpr millis_t updateInterval = SEC_TO_MS(10);
|
||||
|
||||
/**
|
||||
* @brief Interval in seconds between EEPROM saves
|
||||
|
||||
Reference in New Issue
Block a user