summaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go4
1 files changed, 2 insertions, 2 deletions
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)