From 48dbc5c72b498fb742f1a2d41f728ede6fc88da8 Mon Sep 17 00:00:00 2001 From: Max Neklyudov Date: Mon, 22 Jun 2015 06:19:45 -0600 Subject: [PATCH] Back out an error introduced with commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in up_lowputc(). From Max Neklyudov. --- arch/arm/src/sam34/sam_lowputc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/src/sam34/sam_lowputc.c b/arch/arm/src/sam34/sam_lowputc.c index dbacb110dd..9c7636c416 100644 --- a/arch/arm/src/sam34/sam_lowputc.c +++ b/arch/arm/src/sam34/sam_lowputc.c @@ -299,6 +299,8 @@ void up_lowputc(char ch) /* Send the character */ putreg32((uint32_t)ch, SAM_CONSOLE_BASE + SAM_UART_THR_OFFSET); + irqrestore(flags); + return; } irqrestore(flags);