From 4a01c8e94921d9ddcaf6d6dee0feca4d9c3655a2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 15 Jun 2021 15:51:38 +0200 Subject: Refactoring: Camera has Statemachine and not is Statemachine --- src/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.go') diff --git a/src/main.go b/src/main.go index af82e8f..768920a 100644 --- a/src/main.go +++ b/src/main.go @@ -11,7 +11,7 @@ import ( ) var ( - camera Machine + camera Camera ) type config struct { @@ -31,7 +31,7 @@ func main() { cfg := readConfig(configPath) // setup camera state machine - camera = newCamStateMachine() + camera = NewCamera() // start goroutines server := NewWebServer(&cfg.WebConfig) -- cgit v1.2.3-70-g09d2