aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_nxpmk66f18.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-05-08 20:05:34 +0200
committerRon Evans <[email protected]>2021-05-08 23:08:12 +0200
commit8cd2a462b9190c6615625ce60db8b6b38540c544 (patch)
tree7ce3acc5af8c35f1a37bd8af6bc73f774d531f8f /src/runtime/runtime_nxpmk66f18.go
parent25b045d0a72d33b934db7279fe516ef16060a771 (diff)
downloadtinygo-8cd2a462b9190c6615625ce60db8b6b38540c544.tar.gz
tinygo-8cd2a462b9190c6615625ce60db8b6b38540c544.zip
runtime: remove the asyncScheduler constant
There is no reason to specialize this per chip as it is only ever used for JavaScript. Not only that, it is causing confusion and is yet another quirk to learn when porting the runtime to a new microcontroller.
Diffstat (limited to 'src/runtime/runtime_nxpmk66f18.go')
-rw-r--r--src/runtime/runtime_nxpmk66f18.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/runtime_nxpmk66f18.go b/src/runtime/runtime_nxpmk66f18.go
index cff830d28..1cb523349 100644
--- a/src/runtime/runtime_nxpmk66f18.go
+++ b/src/runtime/runtime_nxpmk66f18.go
@@ -232,9 +232,6 @@ func putchar(c byte) {
machine.PutcharUART(&machine.UART0, c)
}
-// ???
-const asyncScheduler = false
-
func abort() {
println("!!! ABORT !!!")