pic32mx_mem_layout_t -> struct pic32mx_mem_layout
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 15:41:51 +0000 (07:41 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:08 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct pic32mx_mem_layout.

src/flash/pic32mx.h

index 4ece7d0..3a3c979 100644 (file)
@@ -104,10 +104,10 @@ struct pic32mx_flash_bank
 #define NVMKEY1                        0xAA996655
 #define NVMKEY2                        0x556699AA
 
-typedef struct pic32mx_mem_layout_s {
+struct pic32mx_mem_layout {
        uint32_t sector_start;
        uint32_t sector_size;
-} pic32mx_mem_layout_t;
+};
 
 #endif /* PIC32MX_H */