Surround all macro parameters with ()

Followup from c72f3d588a
This commit is contained in:
Karl Palsson
2015-10-15 01:03:18 +00:00
parent 8f06818f03
commit 2e25d678ba
10 changed files with 65 additions and 65 deletions

View File

@@ -79,9 +79,9 @@
#define USB_TEST MMIO8(USB_BASE + 0x0F)
/* USB FIFO Endpoint [0-7] */
#define USB_FIFO8(n) MMIO8(USB_BASE + 0x20 + n*0x04)
#define USB_FIFO16(n) MMIO16(USB_BASE + 0x20 + n*0x04)
#define USB_FIFO32(n) MMIO32(USB_BASE + 0x20 + n*0x04)
#define USB_FIFO8(n) MMIO8(USB_BASE + 0x20 + (n)*0x04)
#define USB_FIFO16(n) MMIO16(USB_BASE + 0x20 + (n)*0x04)
#define USB_FIFO32(n) MMIO32(USB_BASE + 0x20 + (n)*0x04)
/* USB Transmit Dynamic FIFO Sizing */
#define USB_TXFIFOSZ MMIO8(USB_BASE + 0x62)