summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ccs300.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ccs300.cpp')
-rw-r--r--src/mame/drivers/ccs300.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/ccs300.cpp b/src/mame/drivers/ccs300.cpp
index a852ac599f8..170f211315c 100644
--- a/src/mame/drivers/ccs300.cpp
+++ b/src/mame/drivers/ccs300.cpp
@@ -125,9 +125,9 @@ MACHINE_CONFIG_START(ccs300_state::ccs300)
MCFG_MACHINE_RESET_OVERRIDE(ccs300_state, ccs300)
/* video hardware */
- MCFG_DEVICE_ADD("uart_clock", CLOCK, 153600)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("sio", z80sio_device, txca_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("sio", z80sio_device, rxca_w))
+ clock_device &uart_clock(CLOCK(config, "uart_clock", 153'600));
+ uart_clock.signal_handler().set("sio", FUNC(z80sio_device::txca_w));
+ uart_clock.signal_handler().append("sio", FUNC(z80sio_device::rxca_w));
/* Devices */
MCFG_DEVICE_ADD("sio", Z80SIO, XTAL(4'000'000))