Do not disable interrupts on abort

Allows panic messages to be printed fully into serial console
This commit is contained in:
Yurii Soldak
2021-05-26 22:16:33 +02:00
committed by Ron Evans
parent c93ddb630b
commit 422ebeeec7
-3
View File
@@ -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")