Skip to content

Commit da1704e

Browse files
authored
Changed loglevel to more sane approach
1 parent ba8439f commit da1704e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

app/peripherals/ble/pm5/rowing-service/other-characteristics/ForceCurveCharacteristic.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
'use strict'
2-
/*
3-
Open Rowing Monitor, https://github.com/JaapvanEkris/openrowingmonitor
4-
*/
52
/**
6-
* Implementation of the Force Curve Data as defined in:
7-
* https://www.concept2.co.uk/files/pdf/us/monitors/PM5_BluetoothSmartInterfaceDefinition.pdf
8-
* https://www.concept2.co.uk/files/pdf/us/monitors/PM5_CSAFECommunicationDefinition.pdf
3+
* @copyright [OpenRowingMonitor]{@link https://github.com/JaapvanEkris/openrowingmonitor}
4+
*
5+
* @file Implementation of the Force Curve Data as defined in:
6+
* - @see {@link https://www.concept2.co.uk/files/pdf/us/monitors/PM5_BluetoothSmartInterfaceDefinition.pdf|The PM5 Bluetooth Smart Interface Definition}
7+
* - @see {@link https://www.concept2.co.uk/files/pdf/us/monitors/PM5_CSAFECommunicationDefinition.pdf|The PM5 CSAFE Communication Definition}
98
*/
109
import loglevel from 'loglevel'
1110

@@ -51,7 +50,7 @@ export class ForceCurveCharacteristic extends GattNotifyCharacteristic {
5150
const split = Math.floor(data.driveHandleForceCurve.length / chunkSize + (data.driveHandleForceCurve.length % chunkSize === 0 ? 0 : 1))
5251

5352
let i = 0
54-
log.debug(`Force curve data count: ${data.driveHandleForceCurve.length} chunk size(number of values): ${chunkSize}, number of chunks: ${split}`)
53+
log.trace(`Force curve data count: ${data.driveHandleForceCurve.length} chunk size(number of values): ${chunkSize}, number of chunks: ${split}`)
5554

5655
while (i < split) {
5756
const end = (i + 1) * chunkSize < data.driveHandleForceCurve.length ? chunkSize * (i + 1) : data.driveHandleForceCurve.length

0 commit comments

Comments
 (0)