From 5fe07490bd505a7201d38dc1126a69c7b138d7d8 Mon Sep 17 00:00:00 2001 From: sago35 Date: Tue, 16 Apr 2024 23:25:42 +0900 Subject: [PATCH] Increase delay for save operation from 500ms to 5000ms --- keyboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboard.go b/keyboard.go index b616ebf..79a934d 100644 --- a/keyboard.go +++ b/keyboard.go @@ -153,7 +153,7 @@ func (d *Device) Tick() error { case <-d.flashCh: d.flashCnt = 1 default: - if d.flashCnt >= 500 { + if d.flashCnt >= 5000 { d.flashCnt = 0 err := Save() if err != nil {