Add missing guard from some macros

Guard them for future usage, as none of these macros had a non-preset variable used with them yet.
This commit is contained in:
CTCaer
2020-11-15 13:39:27 +02:00
parent 485edb4883
commit 68d57861cd
9 changed files with 70 additions and 70 deletions

View File

@@ -79,7 +79,7 @@
#define VIC(off) _REG(VIC_BASE, off)
#define TSEC(off) _REG(TSEC_BASE, off)
#define SOR1(off) _REG(SOR1_BASE, off)
#define ICTLR(cidx, off) _REG(ICTLR_BASE + (0x100 * cidx), off)
#define ICTLR(cidx, off) _REG(ICTLR_BASE + (0x100 * (cidx)), off)
#define TMR(off) _REG(TMR_BASE, off)
#define CLOCK(off) _REG(CLOCK_BASE, off)
#define FLOW_CTLR(off) _REG(FLOW_CTLR_BASE, off)