File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,8 @@ int main(int argc, const char **argv)
546
546
if ((length = tt_read_file (ttd , ttd -> files -> manifest , debug , & fbuf )) < 0 ) {
547
547
fprintf (stderr , "WARNING: Could not read settings manifest file 0x%08x from watch!\n" , ttd -> files -> manifest );
548
548
} else {
549
- // based on ttwatch/libttwatch/libttwatch.h, ttwatch/ttwatch/manifest_definitions.h
549
+ // based on: https://github.com/ryanbinns/ttwatch/tree/master/manifest
550
+ // the position of the UTC-offset in the manifest is 169 in all known firmware versions, so lazily hard-coded here for now
550
551
int32_t * watch_timezone = NULL ;
551
552
for (int16_t * index = (int16_t * )(fbuf + 4 ); index < (int16_t * )(fbuf + length ); index += 3 ) {
552
553
if (btohl (* index ) == 169 ) {
You can’t perform that action at this time.
0 commit comments