aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_atsamd51.go
diff options
context:
space:
mode:
authorJaden Weiss <[email protected]>2020-02-07 17:17:38 -0500
committerAyke <[email protected]>2020-03-17 19:25:30 +0100
commit5d869f60420117f11afeb22ebdc0ff5d3859048f (patch)
tree04d208936aa2b305e407ede85a29351de1533009 /src/runtime/runtime_atsamd51.go
parent5089d1a5a79a605304db114718145666635bbb77 (diff)
downloadtinygo-5d869f60420117f11afeb22ebdc0ff5d3859048f.tar.gz
tinygo-5d869f60420117f11afeb22ebdc0ff5d3859048f.zip
generalize -scheduler=none to support most platforms
Diffstat (limited to 'src/runtime/runtime_atsamd51.go')
-rw-r--r--src/runtime/runtime_atsamd51.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/runtime_atsamd51.go b/src/runtime/runtime_atsamd51.go
index 23d91109c..a605eee58 100644
--- a/src/runtime/runtime_atsamd51.go
+++ b/src/runtime/runtime_atsamd51.go
@@ -12,12 +12,12 @@ import (
type timeUnit int64
+func postinit() {}
+
//go:export Reset_Handler
func main() {
preinit()
- initAll()
- go callMain()
- scheduler()
+ run()
abort()
}