Added handling of the HRRecoveryUpdate
Added handling of the HRRecoveryUpdate, which will add Recovery HeartRate to the tcx notes
This commit is contained in:
parent
b5e439cd50
commit
52d491b5f2
|
|
@ -220,6 +220,11 @@ rowingStatistics.on('rowingStopped', (metrics) => {
|
|||
workoutRecorder.writeRecordings()
|
||||
})
|
||||
|
||||
rowingStatistics.on('HRRecoveryUpdate', (hrMetrics) => {
|
||||
// This is called at minute intervals after the rowingmachine has stopped, to record the Recovery heartrate in the tcx
|
||||
workoutRecorder.updateHRRecovery(hrMetrics)
|
||||
})
|
||||
|
||||
workoutUploader.on('authorizeStrava', (data, client) => {
|
||||
webServer.notifyClient(client, 'authorizeStrava', data)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue