From 8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9 Mon Sep 17 00:00:00 2001 From: vetch Date: Thu, 2 Jan 2020 17:49:42 +0100 Subject: update, may not work now --- psr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psr.h') diff --git a/psr.h b/psr.h index 9809fc4..86510dc 100644 --- a/psr.h +++ b/psr.h @@ -60,7 +60,7 @@ inline static PSR_t read_CPSR(void) PSR_t CPSR; // get content of current program status register asm("mrs %0, cpsr" : "=r" (CPSR.raw) :: "memory"); - + return CPSR; } -- cgit v1.2.3