mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 17:53:33 +08:00
Ported accelsim, gyrosim and adcsim to DriverFramework
Need to handle _pub_blocked flag in DriverFramework as a PX4 specific implementation. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -102,7 +102,7 @@ private:
|
||||
};
|
||||
|
||||
ADCSIM::ADCSIM(uint32_t channels) :
|
||||
VirtDevObj("adcsim", ADC_BASE_DEV_PATH, 10000),
|
||||
VirtDevObj("adcsim", "/dev/adcsim", ADC_BASE_DEV_PATH, 10000),
|
||||
_sample_perf(perf_alloc(PC_ELAPSED, "adc_samples")),
|
||||
_channel_count(0),
|
||||
_samples(nullptr)
|
||||
|
||||
Reference in New Issue
Block a user