commit 1652fefab72c92e892becda3d844c0dbd0e2bc9e
parent f633b6bf8965f23d55fc7578810d16b9e8a08310
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 9 Mar 2026 21:40:03 +0000
catch errors from cq:step
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pkgs/maps/main.fnl b/pkgs/maps/main.fnl
@@ -531,7 +531,9 @@ label.readout {
100 ; ms
(fn []
;; run cqueues scheduler
- (cq:step 0)
+ (case (cq:step 0)
+ ok nil
+ (nil msg code obj fd) (print "step error " msg code obj fd))
;; for smoother rotation when course changes, repaint more often than
;; once per gnss message
(update-app-state {})