mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
Do not disable interrupts on abort
Allows panic messages to be printed fully into serial console
This commit is contained in:
@@ -7,9 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func abort() {
|
||||
// disable all interrupts
|
||||
arm.DisableInterrupts()
|
||||
|
||||
// lock up forever
|
||||
for {
|
||||
arm.Asm("wfi")
|
||||
|
||||
Reference in New Issue
Block a user