mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-25 20:06:08 +00:00
Exclude decimals in BUILD_EPOCH flag
This commit is contained in:
@@ -19,6 +19,6 @@ hf = """
|
||||
#define VERSION "{}"
|
||||
#endif
|
||||
#define BUILD_EPOCH {}
|
||||
""".format(version, time())
|
||||
""".format(version, round(time()))
|
||||
with open(FILENAME_VERSION_H, 'w+') as f:
|
||||
f.write(hf)
|
||||
|
||||
Reference in New Issue
Block a user