bootgatthrm: simplify event listener

pull/3371/head
Rob Pilling 2024-04-20 17:41:29 +01:00
parent da7f03b21f
commit 3092be1f4b
1 changed files with 1 additions and 1 deletions

View File

@ -70,5 +70,5 @@
}
setupHRMAdvertising();
Bangle.on("HRM", function (hrm) { updateBLEHeartRate(hrm); });
Bangle.on("HRM", updateBLEHeartRate);
})();