summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2022-11-21 15:41:58 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2022-11-21 15:41:58 +0700
commitce88c950567033a9f23da716a14e0a9d0862e815 (patch)
tree6fc7cd94d0f28de8e8da77c0f01c73f89332577a /src/devices
parent02c9dfc5fe93422399743264572a64b16c2dca96 (diff)
eepromser: correct data out level
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/eepromser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/eepromser.cpp b/src/devices/machine/eepromser.cpp
index a8502e72fe3..93476ad360b 100644
--- a/src/devices/machine/eepromser.cpp
+++ b/src/devices/machine/eepromser.cpp
@@ -340,8 +340,8 @@ void eeprom_serial_base_device::set_state(eeprom_state newstate)
// switch to the new state
m_state = newstate;
- // set DO high (actually high impedance; pullup assumed)
- m_do_cb(1);
+ // set DO high (actually high impedance; pullup assumed) except when entering STATE_READING_DATA
+ m_do_cb(m_state != STATE_READING_DATA);
}