summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-02-16 23:02:07 -0500
committer AJR <ajrhacker@users.noreply.github.com>2022-02-16 23:02:10 -0500
commit9223ea0e248ca0baf5f0c431f2d2be74610492cc (patch)
treee5b216cf0df3a022ed418cc6606330c5febe9725
parent67d00ac7a457ba982ffdc1dce4b6448ed3d93d1f (diff)
i2cmem.cpp: Initialize m_bits
-rw-r--r--src/devices/machine/i2cmem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp
index a951f325110..c7ba56e7a93 100644
--- a/src/devices/machine/i2cmem.cpp
+++ b/src/devices/machine/i2cmem.cpp
@@ -108,6 +108,7 @@ i2cmem_device::i2cmem_device(
m_wc(0),
m_sdar(1),
m_state(STATE_IDLE),
+ m_bits(0),
m_shift(0),
m_devsel(0),
m_addresshigh(0),
@@ -332,7 +333,7 @@ WRITE_LINE_MEMBER( i2cmem_device::write_sda )
}
else
{
- verboselog( this, 2, "start\n" );
+ verboselog( this, 1, "start\n" );
m_state = STATE_DEVSEL;
m_bits = 0;
}