mirror of https://github.com/LedFx/LedFx.git
adjusting defaults
This commit is contained in:
parent
04732a3d2a
commit
08e8023ba3
|
@ -95,18 +95,18 @@ class LaunchpadDevice(Device):
|
|||
vol.Required(
|
||||
"pixel_count",
|
||||
description="Number of individual pixels",
|
||||
default=1,
|
||||
default=81,
|
||||
): vol.All(int, vol.Range(min=1)),
|
||||
vol.Required(
|
||||
"rows",
|
||||
description="Number of individual rows",
|
||||
default=1,
|
||||
default=8,
|
||||
): vol.All(int, vol.Range(min=1)),
|
||||
vol.Optional(
|
||||
"refresh_rate",
|
||||
description="Target rate that pixels are sent to the device",
|
||||
default=next(
|
||||
(f for f in AVAILABLE_FPS if f >= 10),
|
||||
(f for f in AVAILABLE_FPS if f >= 20),
|
||||
list(AVAILABLE_FPS)[-1],
|
||||
),
|
||||
): fps_validator,
|
||||
|
|
Loading…
Reference in New Issue