Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

Commit 3e6f2f8

Browse files
fix(version): use TIGERSCALE_FW_VERSION macro in heartbeat — was hardcoded 1.3.0
Firestore heartbeat now reports the correct firmware version (2.0.0) instead of the stale hardcoded string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6ea4100 commit 3e6f2f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ void sendScaleHeartbeat() {
16581658
bool scaleDocExists = readScaleDisplayName(gScaleMacAddress, currentDisplayName, &serverTimestamp);
16591659

16601660
// 1. fw_version (required)
1661-
doc["fields"]["fw_version"]["stringValue"] = "1.3.0";
1661+
doc["fields"]["fw_version"]["stringValue"] = TIGERSCALE_FW_VERSION;
16621662

16631663
// 2. last_heartbeat_at (required) — Use Firestore server timestamp
16641664
// If we got a server timestamp from the doc read, use it

0 commit comments

Comments
 (0)