|
|
|
@ -163,10 +163,12 @@ void
@@ -163,10 +163,12 @@ void
|
|
|
|
|
ADCSIM::_measure() |
|
|
|
|
{ |
|
|
|
|
m_lock.lock(); |
|
|
|
|
|
|
|
|
|
/* scan the channel set and sample each */ |
|
|
|
|
for (unsigned i = 0; i < _channel_count; i++) { |
|
|
|
|
_samples[i].am_data = _sample(_samples[i].am_channel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
m_lock.unlock(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|