Skip to content

Commit

Permalink
Update JJYReceiver.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Crescent authored Feb 9, 2024
1 parent 24da8e1 commit 60d2913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JJYReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class JJYReceiver {
calculateDate(year, yday ,&timeinfo.tm_mon, &timeinfo.tm_mday);
timeinfo.tm_hour = ((jjydata[index].bits.hour >> 5) & 0x3) * 10 + (jjydata[index].bits.hour & 0x0f) ; //
timeinfo.tm_min = ((jjydata[index].bits.min >> 5) & 0x7) * 10 + (jjydata[index].bits.min & 0x0f) + 1; //
timeinfo.tm_sec = 2; //
timeinfo.tm_sec = 1; //
localtime[index]= mktime(&timeinfo);
return true;
}
Expand Down

0 comments on commit 60d2913

Please sign in to comment.