mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 04:20:34 +08:00
Posix: Changed PreflightCheck to read Vdev
PreflightCheck was failing because it was trying to read actual devices instad of virtual devices. ADCSIM had a LINUXTEST ifdef that was removed. posix_run.sh was using the wrong path Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -277,10 +277,8 @@ adcsim_main(int argc, char *argv[])
|
||||
int ret = 0;
|
||||
|
||||
if (g_adc == nullptr) {
|
||||
#ifdef CONFIG_ARCH_BOARD_LINUXTEST
|
||||
/* XXX this hardcodes the default channel set for LINUXTEST - should be configurable */
|
||||
/* XXX this hardcodes the default channel set for POSIXTEST - should be configurable */
|
||||
g_adc = new ADCSIM((1 << 10) | (1 << 11) | (1 << 12) | (1 << 13));
|
||||
#endif
|
||||
|
||||
if (g_adc == nullptr) {
|
||||
warnx("couldn't allocate the ADCSIM driver");
|
||||
|
||||
Reference in New Issue
Block a user