Skip to content

Commit 103a31d

Browse files
committed
Never take estimated volume
1 parent cf5d09e commit 103a31d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

web/src/pages/ShotHistory/utils.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ export function parseHistoryData(shot) {
5151

5252
// Track valid volume values (prefer bluetooth weight 'v', fall back to estimated 'ev')
5353
let currentVolume = sample.v;
54-
if (isNaN(currentVolume) || currentVolume <= 0) {
55-
currentVolume = sample.ev;
56-
}
54+
55+
// Never take estimated volume (until fixed)
56+
//if (isNaN(currentVolume) || currentVolume <= 0) {
57+
// currentVolume = sample.ev;
58+
//}
5759

5860
if (!isNaN(currentVolume) && currentVolume > 0) {
5961
lastValidVolume = currentVolume;

0 commit comments

Comments
 (0)