diff options
author | Jaden Weiss <[email protected]> | 2020-01-03 00:23:37 -0500 |
---|---|---|
committer | Ayke <[email protected]> | 2020-03-17 12:16:10 +0100 |
commit | 6a50f25a48385fc78397b6f0f1c83650130d8d16 (patch) | |
tree | 16745709bcec53d785bd1b17aca718926cd410dd /src/runtime/runtime_stm32.go | |
parent | 2521cacb513bd59e95dc61746e7e0d0d761dcdc4 (diff) | |
download | tinygo-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.go | 3 |
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() } |