Skip to content

Commit

Permalink
Update FEPeripheral.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Sep 4, 2024
1 parent bee20dd commit d9cf3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/peripherals/ant/FEPeripheral.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function createFEPeripheral (antManager) {
...Messages.intToLEHexArray(sessionData.accumulatedStrokes, 1), // Stroke Count
...Messages.intToLEHexArray(sessionData.strokeRate, 1), // Cadence / Stroke Rate
...Messages.intToLEHexArray(sessionData.instantaneousPower, 2), // Instant Power (2 bytes)
...Messages.intToLEHexArray((sessionData.fitnessEquipmentState + feCapabilitiesBitField), 1)
...Messages.intToLEHexArray((sessionData.fitnessEquipmentState + rowingCapabilitiesBitField), 1)
]
if (sessionData.sessionStatus === 'Rowing') {
log.trace(`Page 22 Data Sent. Event=${dataPageCount}. Strokes=${sessionData.accumulatedStrokes}. Stroke Rate=${sessionData.strokeRate}. Power=${sessionData.instantaneousPower}`)
Expand Down

0 comments on commit d9cf3bd

Please sign in to comment.