push distance, watts, calories, & speed to api (not yet persisting it)

This commit is contained in:
Peter Stockings
2023-03-11 22:17:21 +11:00
parent dd76d01e3d
commit 2a3c5f6eb1

View File

@@ -335,7 +335,7 @@
updateBikeDisplay(distance, calories, watts, speed, rpm);
updateGraph();
workout.push({ rpm, timestamp: new Date() })
workout.push({ distance, calories, watts, speed, rpm, timestamp: new Date() })
}
}
prevRes = res;