From 44f03582593d0fb6923f71ecb4d36863d7ed67ad Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Fri, 28 Sep 2018 15:05:54 -0600 Subject: [PATCH] Change Gpio to GPIO --- config.go | 4 ++-- config_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.go b/config.go index 92cb3f9..362583f 100644 --- a/config.go +++ b/config.go @@ -12,10 +12,10 @@ type Sensor struct { Alias string `yaml:"alias"` HighTemp float64 `yaml:"hightemp"` LowTemp float64 `yaml:"lowtemp"` - HeatGpio int32 `yaml:"heatgpio"` + HeatGPIO int32 `yaml:"heatgpio"` HeatPullup bool `yaml:"heatpullup"` HeatMinutes int32 `yaml:"heatminutes"` - CoolGpio int32 `yaml:"coolgpio"` + CoolGPIO int32 `yaml:"coolgpio"` CoolPullup bool `yaml:"coolpullup"` CoolMinutes int32 `yaml:"coolminutes"` } diff --git a/config_test.go b/config_test.go index 83ac804..06ca013 100644 --- a/config_test.go +++ b/config_test.go @@ -12,10 +12,10 @@ func Test_LoadConfig(t *testing.T) { Alias: "fermenter", HighTemp: 8, LowTemp: 4, - HeatGpio: 5, + HeatGPIO: 5, HeatPullup: true, HeatMinutes: 5, - CoolGpio: 17, + CoolGPIO: 17, CoolPullup: false, CoolMinutes: 10}