From 7231bfaa5b327667e63e62156b19ceeb6482c046 Mon Sep 17 00:00:00 2001 From: Florian Thienel Date: Tue, 31 Dec 2024 13:23:23 +0100 Subject: [PATCH] bump conval version Signed-off-by: Florian Thienel --- core/export/cabrillo/convert.go | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/export/cabrillo/convert.go b/core/export/cabrillo/convert.go index 6d99d5b..c96f455 100644 --- a/core/export/cabrillo/convert.go +++ b/core/export/cabrillo/convert.go @@ -123,9 +123,9 @@ func convalToCabrilloPower(category conval.Category) cabrillo.CategoryPower { func convalToCabrilloTransmitter(category conval.Category) cabrillo.CategoryTransmitter { switch category.TX { - case conval.OneTX: + case conval.OneTX, "1": return cabrillo.OneTransmitter - case conval.TwoTX: + case conval.TwoTX, "2": return cabrillo.TwoTransmitter case conval.MultiTX: return cabrillo.LimitedTransmitter diff --git a/go.mod b/go.mod index b5c2ab4..d72888b 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ go 1.22.3 require ( github.com/ftl/cabrillo v0.2.4 github.com/ftl/clusterix v0.1.0 - github.com/ftl/conval v0.8.0 + github.com/ftl/conval v0.8.1 github.com/ftl/gmtry v0.0.0-20201120192810-fa4a1b99fc04 github.com/ftl/godxmap v1.0.1 github.com/ftl/hamradio v0.2.12 diff --git a/go.sum b/go.sum index 70d61e8..89b6cf9 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ github.com/ftl/cabrillo v0.2.4 h1:htBOjPCkZIOBf4CL2QypTEb83G7+z6/YF8rAP6vGdPk= github.com/ftl/cabrillo v0.2.4/go.mod h1:yrVvhb4datmP7OTEfX6gpEsTP8QNpXH0LAoatwvsjCI= github.com/ftl/clusterix v0.1.0 h1:+fbTybTvkVorx3B4zZ3DBiVbmLV0hhFpfDGW50Ss9cg= github.com/ftl/clusterix v0.1.0/go.mod h1:N89RHOExeAbnWqoXs/MD76uackK2/9Dcu+FooVq1tKg= -github.com/ftl/conval v0.8.0 h1:ZD1b+YpNne8ED53jmDR6l3Amv+wtOveLwHQSPSGgTMc= -github.com/ftl/conval v0.8.0/go.mod h1:McmMHWMs0y/rY1RVUoUB7GbeBxGDdVovfNXqHDOKhj4= +github.com/ftl/conval v0.8.1 h1:V7wcoh25dt9OfhBnKmeJzKfjMWSLfRhpZLsKTvFdk6A= +github.com/ftl/conval v0.8.1/go.mod h1:McmMHWMs0y/rY1RVUoUB7GbeBxGDdVovfNXqHDOKhj4= github.com/ftl/gmtry v0.0.0-20201120192810-fa4a1b99fc04 h1:S7z3LXqDYk4avXKj+B2orGWquOo/A+1ZJbcUPx0duLo= github.com/ftl/gmtry v0.0.0-20201120192810-fa4a1b99fc04/go.mod h1:AQpbHYBSPV1Bc1nqG8vv8BK3qxXMZIn32OQBi/4A7Sc= github.com/ftl/godxmap v1.0.1 h1:VzzpC2TBTO3/NMHDeqNTpGhhFxHrTLfhycUq0edh4JE=