summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/mits680b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mits680b.cpp')
-rw-r--r--src/mame/drivers/mits680b.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/mits680b.cpp b/src/mame/drivers/mits680b.cpp
index 7c5e084ba8d..a32c09a1d32 100644
--- a/src/mame/drivers/mits680b.cpp
+++ b/src/mame/drivers/mits680b.cpp
@@ -70,9 +70,9 @@ MACHINE_CONFIG_START(mits680b_state::mits680b)
MCFG_DEVICE_ADD("maincpu", M6800, XTAL(1'000'000) / 2)
MCFG_DEVICE_PROGRAM_MAP(mem_map)
- MCFG_DEVICE_ADD("uart_clock", CLOCK, 153600)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("acia", acia6850_device, write_txc))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("acia", acia6850_device, write_rxc))
+ clock_device &uart_clock(CLOCK(config, "uart_clock", 153600));
+ uart_clock.signal_handler().set("acia", FUNC(acia6850_device::write_txc));
+ uart_clock.signal_handler().append("acia", FUNC(acia6850_device::write_rxc));
MCFG_DEVICE_ADD("acia", ACIA6850, 0)
MCFG_ACIA6850_TXD_HANDLER(WRITELINE("rs232", rs232_port_device, write_txd))