summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/px4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/px4.cpp')
-rw-r--r--src/mame/drivers/px4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/px4.cpp b/src/mame/drivers/px4.cpp
index e98ea110d30..31dcf969779 100644
--- a/src/mame/drivers/px4.cpp
+++ b/src/mame/drivers/px4.cpp
@@ -1529,9 +1529,9 @@ MACHINE_CONFIG_START(px4_state::px4)
TIMER(config, m_ext_cas_timer).configure_generic(FUNC(px4_state::ext_cassette_read));
// sio port
- MCFG_EPSON_SIO_ADD("sio", nullptr)
- MCFG_EPSON_SIO_RX(WRITELINE(*this, px4_state, sio_rx_w))
- MCFG_EPSON_SIO_PIN(WRITELINE(*this, px4_state, sio_pin_w))
+ EPSON_SIO(config, m_sio, nullptr);
+ m_sio->rx_callback().set(FUNC(px4_state::sio_rx_w));
+ m_sio->pin_callback().set(FUNC(px4_state::sio_pin_w));
// rs232 port
RS232_PORT(config, m_rs232, default_rs232_devices, nullptr);