Undo merge weirdness
This commit is contained in:
parent
e0ed59d83f
commit
7153003aaf
1 changed files with 2 additions and 1 deletions
|
@ -65,8 +65,9 @@
|
||||||
#define BIT(nr) (1UL << (nr))
|
#define BIT(nr) (1UL << (nr))
|
||||||
#else
|
#else
|
||||||
#define BIT(nr) (1 << (nr))
|
#define BIT(nr) (1 << (nr))
|
||||||
#endif //__ASSEMBLER__
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLER__
|
||||||
//write value to register
|
//write value to register
|
||||||
#define REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v)
|
#define REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue