summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-11-26 19:11:59 +0200
committerMaxim Devaev <[email protected]>2024-11-26 19:11:59 +0200
commit7fd4dae3c6e8007fdc6a6bf1d127271288650cf8 (patch)
tree13ce286466db075ce0197015d5250c846e4acbb6 /kvmd/apps
parent0cf5f8de9e1ef67cfe6b00dd35204665fbd4e54c (diff)
pikvm/pikvm#1408: Additional colors for GPIO
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/ugpio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/ugpio.py b/kvmd/apps/kvmd/ugpio.py
index e4735c61..a3c453f5 100644
--- a/kvmd/apps/kvmd/ugpio.py
+++ b/kvmd/apps/kvmd/ugpio.py
@@ -408,7 +408,7 @@ class UserGpio:
def __make_item_input(self, parts: list[str]) -> dict:
assert len(parts) >= 1
color = (parts[1] if len(parts) > 1 else None)
- if color not in ["green", "yellow", "red"]:
+ if color not in ["green", "yellow", "red", "blue", "cyan", "magenta", "pink", "white"]:
color = "green"
return {
"type": UserGpioModes.INPUT,