summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/scnxx562.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/scnxx562.cpp')
-rw-r--r--src/devices/machine/scnxx562.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/scnxx562.cpp b/src/devices/machine/scnxx562.cpp
index 21d9f9824c0..7b8f1482468 100644
--- a/src/devices/machine/scnxx562.cpp
+++ b/src/devices/machine/scnxx562.cpp
@@ -759,7 +759,7 @@ void duscc_channel::device_timer(timer_instance const &timer)
else // Pulse!
{
m_rtxc = 1;
- rtxc_timer->adjust(attotime::from_hz(clock()), TIMER_ID_RTXC, attotime::from_hz(clock()));
+ rtxc_timer->adjust_periodic(attotime::from_hz(clock()), TIMER_ID_RTXC);
}
if (m_index == duscc_device::CHANNEL_A)
m_uart->m_out_rtxca_cb(m_rtxc);
@@ -777,7 +777,7 @@ void duscc_channel::device_timer(timer_instance const &timer)
else // Pulse!
{
m_trxc = 1;
- trxc_timer->adjust(attotime::from_hz(clock()), TIMER_ID_TRXC, attotime::from_hz(clock()));
+ trxc_timer->adjust_periodic(attotime::from_hz(clock()), TIMER_ID_TRXC);
}
if (m_index == duscc_device::CHANNEL_A)
m_uart->m_out_trxca_cb(m_trxc);
@@ -2007,7 +2007,7 @@ void duscc_channel::do_dusccreg_ccr_w(uint8_t data)
/* Start. Starts the counteritimer and prescaler. */
case REG_CCR_START_TIMER: LOG("- Start Counter/Timer\n");
rate = 100; // TODO: calculate correct rate
- duscc_timer->adjust(attotime::from_hz(rate), TIMER_ID_RTXC, attotime::from_hz(rate));
+ duscc_timer->adjust_periodic(attotime::from_hz(rate), TIMER_ID_RTXC);
break;
/* Stop. Stops the counter/timer and prescaler. Since the command may be asynchronous with the selected clock source,