summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds2401.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds2401.cpp')
-rw-r--r--src/devices/machine/ds2401.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ds2401.cpp b/src/devices/machine/ds2401.cpp
index 154deaea628..663b89ce493 100644
--- a/src/devices/machine/ds2401.cpp
+++ b/src/devices/machine/ds2401.cpp
@@ -29,7 +29,7 @@ inline void ds2401_device::verboselog(int n_level, const char *s_fmt, ...)
// device type definition
const device_type DS2401 = &device_creator<ds2401_device>;
-ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__), m_state(0), m_bit(0), m_shift(0), m_byte(0), m_rx(false), m_tx(false), m_timer_main(nullptr), m_timer_reset(nullptr)
{
}
@@ -228,7 +228,7 @@ READ_LINE_MEMBER( ds2401_device::read )
return m_tx && m_rx;
}
-UINT8 ds2401_device::direct_read(int index)
+uint8_t ds2401_device::direct_read(int index)
{
return m_data[index];
}