File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+ ## Version 2.10.2
3+ - Fixed Timestamp calculation
4+
5+ ## Version 2.10.1
6+ - New Timestamp calculation
27
38## Version 2.10.0
49- Feature: Push Notification.
Original file line number Diff line number Diff line change 11name =SinricPro
2- version =2.10.1
2+ version =2.10.2
33author =Boris Jaeger <sivar2311@gmail.com>
44maintainer =Boris Jaeger <sivar2311@gmail.com>
55sentence =Library for https://sinric.pro - simple way to connect your device to alexa
Original file line number Diff line number Diff line change 66// Version Configuration
77#define SINRICPRO_VERSION_MAJOR 2
88#define SINRICPRO_VERSION_MINOR 10
9- #define SINRICPRO_VERSION_REVISION 1
9+ #define SINRICPRO_VERSION_REVISION 2
1010#define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
1111#define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
1212#define SINRICPRO_VERISON_INT SINRICPRO_VERSION_MAJOR * 1000000 + SINRICPRO_VERSION_MINOR * 1000 + SINRICPRO_VERSION_REVISION
Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ void Timestamp::update() {
1414 if (!timestamp_ms) return ;
1515 uint32_t current_millis = millis ();
1616 uint32_t diff_millis = current_millis - last_update;
17- last_update = current_millis;
17+ timestamp_ms += diff_millis;
18+ last_update = current_millis;
1819}
You can’t perform that action at this time.
0 commit comments