fixed syntax error.
This commit is contained in:
parent
7ee776ba1a
commit
0d49c6f51f
@ -97,7 +97,7 @@ func ExposeBluetooth(events <-chan Event) {
|
||||
binary.LittleEndian.PutUint16(payload[0:], bleSignalDetectedFlag)
|
||||
binary.LittleEndian.PutUint16(payload[2:], watts)
|
||||
binary.LittleEndian.PutUint16(payload[4:], uint16(lastCompletedRevs))
|
||||
binary.Little\Endian.PutUint16(payload[6:], uint16(lastRevTicks))
|
||||
binary.LittleEndian.PutUint16(payload[6:], uint16(lastRevTicks))
|
||||
|
||||
if _, err := powerChar.Write(payload); err != nil {
|
||||
logPrintf("bt: failed to write power characteristic: %v\n", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user