diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 625d9356..dcc2118a 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -269,8 +269,9 @@ func run(cfg revid.Config) { case pin.Name == "X23": if rv == nil { pin.Value = -1 + } else { + pin.Value = rv.Bitrate() } - pin.Value = rv.Bitrate() case pin.Name[0] == 'X': return sds.ReadSystem(pin) default: