From 03ba80e0ef3e021f6ff89ef91ae5cdce4e24b994 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sun, 21 Jan 2018 23:42:41 +0100 Subject: xtal.h is dead, long live to xtal.cpp [O. Galibert] --- src/devices/machine/rtc9701.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/machine/rtc9701.cpp') diff --git a/src/devices/machine/rtc9701.cpp b/src/devices/machine/rtc9701.cpp index 75a48cd7a40..f224f9c8f87 100644 --- a/src/devices/machine/rtc9701.cpp +++ b/src/devices/machine/rtc9701.cpp @@ -93,7 +93,7 @@ void rtc9701_device::device_start() { /* let's call the timer callback every second */ m_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(rtc9701_device::timer_callback), this)); - m_timer->adjust(attotime::from_hz(clock() / XTAL_32_768kHz), 0, attotime::from_hz(clock() / XTAL_32_768kHz)); + m_timer->adjust(attotime::from_hz(clock() / XTAL(32'768)), 0, attotime::from_hz(clock() / XTAL(32'768))); system_time systime; machine().base_datetime(systime); -- cgit v1.2.3