Fixed adc sim formatting

This commit is contained in:
Lorenz Meier
2015-11-09 07:37:31 -08:00
committed by Mark Charlebois
parent d9a7dd04a4
commit 2ec6363f67
@@ -163,10 +163,12 @@ void
ADCSIM::_measure() ADCSIM::_measure()
{ {
m_lock.lock(); m_lock.lock();
/* scan the channel set and sample each */ /* scan the channel set and sample each */
for (unsigned i = 0; i < _channel_count; i++) { for (unsigned i = 0; i < _channel_count; i++) {
_samples[i].am_data = _sample(_samples[i].am_channel); _samples[i].am_data = _sample(_samples[i].am_channel);
} }
m_lock.unlock(); m_lock.unlock();
} }