Fix gbridge inflating steps
parent
c88121daf8
commit
b99024f9ca
|
|
@ -262,7 +262,7 @@
|
||||||
// Send a summary of activity to Gadgetbridge
|
// Send a summary of activity to Gadgetbridge
|
||||||
function sendActivity(hrm) {
|
function sendActivity(hrm) {
|
||||||
var steps = currentSteps - lastSentSteps;
|
var steps = currentSteps - lastSentSteps;
|
||||||
lastSentSteps = 0;
|
lastSentSteps = currentSteps;
|
||||||
gbSend({ t: "act", stp: steps, hrm:hrm });
|
gbSend({ t: "act", stp: steps, hrm:hrm });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue