From 65d5e175830e8c2a6a70b419e28714661e42e4fa Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 19 Oct 2007 19:10:11 +0000 Subject: [PATCH] Change sreg type to cpuflags_t. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@918 38d2e660-2303-0410-9eaa-f027e97ec537 --- cpu/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu.h b/cpu/cpu.h index 57072753..03a0827d 100644 --- a/cpu/cpu.h +++ b/cpu/cpu.h @@ -205,7 +205,7 @@ #define CPU_READ_FLAGS() \ ({ \ - uint32_t sreg; \ + cpuflags_t sreg; \ asm volatile ( \ "mrs %0, cpsr\n\t" \ : "=r" (sreg) \ -- 2.25.1