From 30f11cbb021beb5d74b23820dc6a23f5d5c604b6 Mon Sep 17 00:00:00 2001 From: Jacalz Date: Tue, 10 Dec 2024 23:36:33 +0100 Subject: [PATCH] Use array for internal device mapping --- device/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/input.go b/device/input.go index 22913cc..df3be11 100644 --- a/device/input.go +++ b/device/input.go @@ -17,7 +17,7 @@ const ( H590 ) -var deviceInputs = [][]string{InputsRöst, InputsH95, InputsH120, InputsH190, InputsH390, InputsH590} +var deviceInputs = [...][]string{InputsRöst, InputsH95, InputsH120, InputsH190, InputsH390, InputsH590} var ( errInvalidDevice = errors.New("invalid device type")