aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_stm32.go
diff options
context:
space:
mode:
authorJaden Weiss <[email protected]>2020-01-03 00:23:37 -0500
committerAyke <[email protected]>2020-03-17 12:16:10 +0100
commit6a50f25a48385fc78397b6f0f1c83650130d8d16 (patch)
tree16745709bcec53d785bd1b17aca718926cd410dd /src/runtime/runtime_stm32.go
parent2521cacb513bd59e95dc61746e7e0d0d761dcdc4 (diff)
downloadtinygo-6a50f25a48385fc78397b6f0f1c83650130d8d16.tar.gz
tinygo-6a50f25a48385fc78397b6f0f1c83650130d8d16.zip
refactor coroutine lowering and tasks
Diffstat (limited to 'src/runtime/runtime_stm32.go')
-rw-r--r--src/runtime/runtime_stm32.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime_stm32.go b/src/runtime/runtime_stm32.go
index 0717e7cff..11e686f06 100644
--- a/src/runtime/runtime_stm32.go
+++ b/src/runtime/runtime_stm32.go
@@ -8,6 +8,7 @@ type timeUnit int64
func main() {
preinit()
initAll()
- callMain()
+ go callMain()
+ scheduler()
abort()
}