chore(anchor): use new version commit hash field name

This commit is contained in:
David
2026-04-18 15:09:30 -05:00
parent 79b2d0020f
commit 87237bd841
2 changed files with 3 additions and 3 deletions

View File

@@ -248,8 +248,8 @@ class Anchor(Node):
self.mcu_versions[msg.mcu_name] = McuVersion(mcu_name=msg.mcu_name)
if msg.command_id == 46: # commit hashes
self.mcu_versions[msg.mcu_name].project_commit_hash = int(msg.data[0])
self.mcu_versions[msg.mcu_name].astra_lib_commit_hash = int(msg.data[1])
self.mcu_versions[msg.mcu_name].project_commit_fragment = msg.data[0]
self.mcu_versions[msg.mcu_name].astra_lib_commit_fragment = msg.data[1]
elif msg.command_id == 47: # build timestamp and version numbers
version_msg = self.mcu_versions[msg.mcu_name]
version_msg.build_time = Time(