summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mk1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mk1.cpp')
-rw-r--r--src/mame/drivers/mk1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mk1.cpp b/src/mame/drivers/mk1.cpp
index d9f6bee12d2..556d55c5e59 100644
--- a/src/mame/drivers/mk1.cpp
+++ b/src/mame/drivers/mk1.cpp
@@ -198,7 +198,7 @@ MACHINE_CONFIG_START(mk1_state::mk1)
/* video hardware */
config.set_default_layout(layout_mk1);
- MCFG_TIMER_DRIVER_ADD_PERIODIC("led_timer", mk1_state, mk1_update_leds, attotime::from_hz(30))
+ TIMER(config, "led_timer").configure_periodic(FUNC(mk1_state::mk1_update_leds), attotime::from_hz(30));
MACHINE_CONFIG_END