push distance, watts, calories, & speed to api (not yet persisting it)
This commit is contained in:
@@ -335,7 +335,7 @@
|
|||||||
updateBikeDisplay(distance, calories, watts, speed, rpm);
|
updateBikeDisplay(distance, calories, watts, speed, rpm);
|
||||||
updateGraph();
|
updateGraph();
|
||||||
|
|
||||||
workout.push({ rpm, timestamp: new Date() })
|
workout.push({ distance, calories, watts, speed, rpm, timestamp: new Date() })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
prevRes = res;
|
prevRes = res;
|
||||||
|
|||||||
Reference in New Issue
Block a user