summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rtc9701.cpp
diff options
context:
space:
mode:
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);