Skip to content

Set time variables only on timestamp message.#339

Open
frankonski wants to merge 1 commit into
taligentx:masterfrom
frankonski:fix_timestamp
Open

Set time variables only on timestamp message.#339
frankonski wants to merge 1 commit into
taligentx:masterfrom
frankonski:fix_timestamp

Conversation

@frankonski
Copy link
Copy Markdown

Without this, dsc.year, dsc.month, dsc.hour and dsc.minute becomes messed up. This ensure the time-related variables are only changed when a Timestamp message arrives, which is every 240 seconds (4 minutes) on a PC1832.

ksinitsyn pushed a commit to ksinitsyn/dscKeybusInterface that referenced this pull request Jun 1, 2026
Upstream PR taligentx#339 (frankonski): call processTime() for 0xA5 and 0xEB
only when the message is an actual timestamp (panelData[6]/[7] == 0),
avoiding decoding time from non-timestamp panel data.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant