aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'car/elegoo/main.go')
-rw-r--r--car/elegoo/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/car/elegoo/main.go b/car/elegoo/main.go
index a17ac2a..5d0ed83 100644
--- a/car/elegoo/main.go
+++ b/car/elegoo/main.go
@@ -1,5 +1,8 @@
package main
+//go:generate sh -c "protoc -I.. --go_out=. ../*.proto"
+//go:generate sh -c "protoc -I.. --nanopb_out=.. ../*.proto"
+
import (
"io"
"log"
@@ -70,5 +73,5 @@ func main() {
}
}()
- time.Sleep(30 * time.Second)
+ time.Sleep(time.Minute)
}