mirror of
https://github.com/shouptech/tempgopher.git
synced 2026-02-03 08:39:43 +00:00
Fix a segmentation fault
This commit is contained in:
parent
aea54ff156
commit
8e177b51b1
1 changed files with 1 additions and 1 deletions
|
|
@ -140,8 +140,8 @@ func RunThermostat(path string, sc chan<- State, wg *sync.WaitGroup) {
|
|||
if err != nil {
|
||||
log.Panicln(err)
|
||||
}
|
||||
defer TurnOffSensors(*config)
|
||||
defer rpio.Close()
|
||||
defer TurnOffSensors(*config)
|
||||
|
||||
// Track if thermostats should run
|
||||
run := true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue