mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +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() {
|
func abort() {
|
||||||
// disable all interrupts
|
|
||||||
arm.DisableInterrupts()
|
|
||||||
|
|
||||||
// lock up forever
|
// lock up forever
|
||||||
for {
|
for {
|
||||||
arm.Asm("wfi")
|
arm.Asm("wfi")
|
||||||
|
|||||||
Reference in New Issue
Block a user