Skip to content

Commit

Permalink
lower rgb init
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Sep 24, 2024
1 parent ef4c0eb commit 05951a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hhd/plugins/rgb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

logger = logging.getLogger(__name__)

RGB_SET_TIMES = 3
RGB_SET_INTERVAL = 7
RGB_SET_TIMES = 2
RGB_SET_INTERVAL = 5
RGB_MIN_INTERVAL = 0.1
RGB_QUEUE_RGB = 1.5

Expand Down Expand Up @@ -278,7 +278,7 @@ def update(self, conf: Config):
if self.prev and self.prev != rgb_conf:
self.init = False
elif self.init:
# Initialize by setting the LEDs 3 times
# Initialize by setting the LEDs X times
# to avoid early boot having it not set
if self.init_count >= RGB_SET_TIMES:
self.init = False
Expand Down

0 comments on commit 05951a9

Please sign in to comment.