diff options
Diffstat (limited to 'src/devices/machine/serflash.h')
-rw-r--r-- | src/devices/machine/serflash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/serflash.h b/src/devices/machine/serflash.h index b021f50e7c4..85e8ee671be 100644 --- a/src/devices/machine/serflash.h +++ b/src/devices/machine/serflash.h @@ -48,7 +48,7 @@ public: protected: static constexpr unsigned FLASH_PAGE_SIZE = 2048+64; - enum flash_state_t { STATE_IDLE = 0, STATE_READ, STATE_READ_ID, STATE_READ_STATUS, STATE_BLOCK_ERASE, STATE_PAGE_PROGRAM }; + enum class flash_state_t : u8 { IDLE = 0, READ, READ_ID, READ_STATUS, BLOCK_ERASE, PAGE_PROGRAM }; // device-level overrides virtual void device_start() override; |