PureSwift / Bluetooth

Pure Swift Bluetooth library
http://pureswift.github.io/Bluetooth/
MIT License
176 stars 25 forks source link

Body Composition Measurement Unit fix #135

Closed jvigneshcs closed 3 years ago

jvigneshcs commented 3 years ago

Issue

flags.contains(.measurementUnitSI) returns false even if the corresponding bit is 0

Fixes #1.

Updated the condition check and assigned the value accordingly

What does this PR Do?

Measurement unit condition check fix

Where should the reviewer start?

main.swift

Sweet giphy showing how you feel about this PR

Giphy