pierremtb / easy-fit

Parse your .FIT files easily, directly from JS
Other
70 stars 51 forks source link

left_right_balance not being parsed correct #31

Open svrpeakers opened 5 years ago

svrpeakers commented 5 years ago

The left_right balance is incorrect it seems.

in the fit.js file it states left_right_balance: { 0: 0, 127: 'mask', 128: 'right' }, left_right_balance_100: { 0: 0, 16383: 'mask', 32768: 'right' },

I'm getting values of 178 for left_right and 37885 for left_right_balance_100. On top of this, the left right balance should be a balance percentage not a value "right" or "mask"