X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Fcpu.h;h=03a0827df5cf9d7518c772e997edb3f60fedcc19;hb=569cd794010c99ae8e3e2e37a207b0a2eaeb2c3f;hp=57072753e0f08a35310024daea3335c15ecf5fbf;hpb=cb6b6452b85928bd1cbb9f54e28520799604a60d;p=bertos.git 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) \