Browse Source

Fixed adc sim formatting

sbg
Lorenz Meier 9 years ago
parent
commit
eb13b518b8
  1. 2
      src/platforms/posix/drivers/adcsim/adcsim.cpp

2
src/platforms/posix/drivers/adcsim/adcsim.cpp

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

Loading…
Cancel
Save