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 1
1
# Changelog
2
+ ## Version 2.10.2
3
+ - Fixed Timestamp calculation
4
+
5
+ ## Version 2.10.1
6
+ - New Timestamp calculation
2
7
3
8
## Version 2.10.0
4
9
- Feature: Push Notification.
Original file line number Diff line number Diff line change 1
1
name =SinricPro
2
- version =2.10.1
2
+ version =2.10.2
3
3
author =Boris Jaeger <sivar2311@gmail.com>
4
4
maintainer =Boris Jaeger <sivar2311@gmail.com>
5
5
sentence =Library for https://sinric.pro - simple way to connect your device to alexa
Original file line number Diff line number Diff line change 6
6
// Version Configuration
7
7
#define SINRICPRO_VERSION_MAJOR 2
8
8
#define SINRICPRO_VERSION_MINOR 10
9
- #define SINRICPRO_VERSION_REVISION 1
9
+ #define SINRICPRO_VERSION_REVISION 2
10
10
#define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
11
11
#define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
12
12
#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() {
14
14
if (!timestamp_ms) return ;
15
15
uint32_t current_millis = millis ();
16
16
uint32_t diff_millis = current_millis - last_update;
17
- last_update = current_millis;
17
+ timestamp_ms += diff_millis;
18
+ last_update = current_millis;
18
19
}
You can’t perform that action at this time.
0 commit comments