summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rtc9701.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-01-21 23:42:41 +0100
committer Olivier Galibert <galibert@pobox.com>2018-01-23 10:25:25 +0100
commit03ba80e0ef3e021f6ff89ef91ae5cdce4e24b994 (patch)
treef127b7f533d36df2484f82fcb05cef5f4c04f232 /src/devices/machine/rtc9701.cpp
parentf61a64ea29bf46bf2deb2e1fbace5b24f3d7b0aa (diff)
xtal.h is dead, long live to xtal.cpp [O. Galibert]
Diffstat (limited to 'src/devices/machine/rtc9701.cpp')
-rw-r--r--src/devices/machine/rtc9701.cpp2
1 files changed, 1 insertions, 1 deletions
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);