summaryrefslogtreecommitdiff
path: root/hw/tc58128.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tc58128.c')
-rw-r--r--hw/tc58128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/tc58128.c b/hw/tc58128.c
index 264aa028d..92adca46b 100644
--- a/hw/tc58128.c
+++ b/hw/tc58128.c
@@ -13,11 +13,11 @@
#define RDY2 0x8000
#define RDY(n) ((n) == 0 ? RDY1 : RDY2)
-typedef enum { WAIT, READ1, READ2, READ3 } state_t;
+typedef enum { WAIT, READ1, READ2, READ3 } e_state;
typedef struct {
uint8_t *flash_contents;
- state_t state;
+ e_state state;
uint32_t address;
uint8_t address_cycle;
} tc58128_dev;