From 3f7e16186701c056d6a1129b52d42246be9d6c13 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Fri, 15 May 2015 11:02:16 +0200 Subject: [PATCH] spiflash: cleanup unnecessary parenthesis --- software/libbase/spiflash.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/software/libbase/spiflash.c b/software/libbase/spiflash.c index 3d4e3204..da8fd756 100644 --- a/software/libbase/spiflash.c +++ b/software/libbase/spiflash.c @@ -4,17 +4,17 @@ #include -#define PAGE_PROGRAM_CMD (0x02) -#define WRDI_CMD (0x04) -#define RDSR_CMD (0x05) -#define WREN_CMD (0x06) -#define SE_CMD (0x20) +#define PAGE_PROGRAM_CMD 0x02 +#define WRDI_CMD 0x04 +#define RDSR_CMD 0x05 +#define WREN_CMD 0x06 +#define SE_CMD 0x20 #define BITBANG_CLK (1 << 1) #define BITBANG_CS_N (1 << 2) #define BITBANG_DQ_INPUT (1 << 3) -#define SR_WIP (1) +#define SR_WIP 1 static void flash_write_byte(unsigned char b); static void flash_write_addr(unsigned int addr); -- 2.30.2