From 2697d4c228262c46eefd5c8b912ab8c686c6eab7 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Mon, 9 Jul 2018 00:00:36 +0200 Subject: [PATCH] [BUGFIX] airtime noise signed int (fix #143) --- data/{airtime.go => statistics_airtime.go} | 2 +- data/{airtime_test.go => statistics_airtime_test.go} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename data/{airtime.go => statistics_airtime.go} (98%) rename data/{airtime_test.go => statistics_airtime_test.go} (100%) diff --git a/data/airtime.go b/data/statistics_airtime.go similarity index 98% rename from data/airtime.go rename to data/statistics_airtime.go index 884e791..5bd4045 100644 --- a/data/airtime.go +++ b/data/statistics_airtime.go @@ -23,7 +23,7 @@ type WirelessAirtime struct { BusyTime uint64 `json:"busy"` RxTime uint64 `json:"rx"` TxTime uint64 `json:"tx"` - Noise uint32 `json:"noise"` + Noise int32 `json:"noise"` Frequency uint32 `json:"frequency"` } diff --git a/data/airtime_test.go b/data/statistics_airtime_test.go similarity index 100% rename from data/airtime_test.go rename to data/statistics_airtime_test.go