i2cmem.cpp: Initialize m_bits

This commit is contained in:
AJR 2022-02-16 23:02:07 -05:00
parent 67d00ac7a4
commit 9223ea0e24

View File

@ -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;
}