Merge pull request #670 from kb8u/bugfix669
This commit is contained in:
+1
-1
@@ -1358,7 +1358,7 @@ void TEF6686::readRDS(byte showrdserrors) {
|
|||||||
|
|
||||||
hour = ((rds.rdsD >> 12) & 0x000f);
|
hour = ((rds.rdsD >> 12) & 0x000f);
|
||||||
hour += ((rds.rdsC << 4) & 0x0010);
|
hour += ((rds.rdsC << 4) & 0x0010);
|
||||||
timeoffset = rds.rdsD & 0x000f;
|
timeoffset = rds.rdsD & 0x001f;
|
||||||
if (bitRead(rds.rdsD, 5)) timeoffset *= -1;
|
if (bitRead(rds.rdsD, 5)) timeoffset *= -1;
|
||||||
timeoffset *= 1800;
|
timeoffset *= 1800;
|
||||||
minute = (rds.rdsD & 0x0fc0) >> 6;
|
minute = (rds.rdsD & 0x0fc0) >> 6;
|
||||||
|
|||||||
Reference in New Issue
Block a user