Skip to content

Commit

Permalink
Increase delay for save operation from 500ms to 5000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
sago35 committed Apr 16, 2024
1 parent 4721fa9 commit 5fe0749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5fe0749

Please sign in to comment.