From: batt Date: Fri, 19 Oct 2007 19:10:11 +0000 (+0000) Subject: Change sreg type to cpuflags_t. X-Git-Tag: 1.0.0~324 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=65d5e175830e8c2a6a70b419e28714661e42e4fa;p=bertos.git Change sreg type to cpuflags_t. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@918 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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) \