aboutsummaryrefslogtreecommitdiff
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 92adca46b0..264aa028da 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 } e_state;
+typedef enum { WAIT, READ1, READ2, READ3 } state_t;
typedef struct {
uint8_t *flash_contents;
- e_state state;
+ state_t state;
uint32_t address;
uint8_t address_cycle;
} tc58128_dev;