Avoid integer overflow warning on SD_CFG_SECONDS

parent 8feaa0b2
Pipeline #103 skipped
......@@ -51,7 +51,7 @@
* @brief Interval in seconds between SDCARD saves
* @details This const value defines what will be the time between each
*/
const uint32_t saveInterval = SD_CFG_SECONDS * 1000;
const uint32_t saveInterval = (uint16_t)SD_CFG_SECONDS * 1000;
/**
* @brief Timestamp of the last call to deltaDuration()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment