~hdasch/gl-bluetooth-devel

Heartrate not updated after initial connect. v1 APPLIED

Hugh Daschbach: 1
 Heartrate not updated after initial connect.

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~hdasch/gl-bluetooth-devel/patches/22133/mbox | git am -3
Learn more about email & git

[PATCH] Heartrate not updated after initial connect. Export this patch

Broken by 30eca31.
---
 glbt-heartrate.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glbt-heartrate.el b/glbt-heartrate.el
index d62cb14..0ff7ac0 100644
--- a/glbt-heartrate.el
+++ b/glbt-heartrate.el
@@ -381,7 +381,7 @@ https://www.bluetooth.com/specifications/specs/."
        (glbt-debug "glbthr--handle-characteristic-changes: lost contact with %S"
                    path)
        (alert "Heart rate sensor contact lost."))
      (when (and hr (= 0 glbthr-heart-rate))
      (when (and hr (= hr glbthr-heart-rate))
        (setq glbthr-heart-rate hr)
        (force-mode-line-update)))))

-- 
2.31.1