Fix the date for the Sherwood Insight 2.
This commit is contained in:
parent
33f5206f79
commit
dbba7f3272
@ -252,6 +252,7 @@ oceanic_atom2_parser_get_datetime (dc_parser_t *abstract, dc_datetime_t *datetim
|
||||
case PROPLUS3:
|
||||
case DATAMASK:
|
||||
case COMPUMASK:
|
||||
case INSIGHT2:
|
||||
datetime->year = ((p[3] & 0xE0) >> 1) + (p[4] & 0x0F) + 2000;
|
||||
datetime->month = (p[4] & 0xF0) >> 4;
|
||||
datetime->day = p[3] & 0x1F;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user