mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-19 23:25:23 +08:00
[r3151] Clean up compile for Atmel port example.
This commit is contained in:
parent
e99cf2d714
commit
d5afb15e9b
|
|
@ -16,6 +16,7 @@
|
|||
/* Taken from the Yahoo LPC2000 User's Group - Files Section 'UT050418A.ZIP' */
|
||||
/* Specifically, the module armVIC.c with the include file references removed */
|
||||
/* ********************************************************************************************** */
|
||||
#include "isr.h"
|
||||
|
||||
#define IRQ_MASK 0x00000080
|
||||
#define FIQ_MASK 0x00000040
|
||||
|
|
@ -25,8 +26,7 @@ static inline unsigned __get_cpsr(
|
|||
void)
|
||||
{
|
||||
unsigned long retval;
|
||||
asm volatile (
|
||||
" mrs %0, cpsr":"=r" (retval): /* no inputs */ );
|
||||
asm volatile (" mrs %0, cpsr" : "=r" (retval) : /* no inputs */ );
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user