mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 06:03:33 +08:00
Linux: Changed /vdev/... back to to /dev/
Some virtual devices were mapped to /vdev. Putting them back to /dev. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ MS5611_I2C::MS5611_I2C(uint8_t bus, ms5611::prom_u &prom) :
|
||||
#ifdef __PX4_NUTTX
|
||||
nullptr, bus, 0, 400000
|
||||
#else
|
||||
"/vdev/MS5611_I2C", bus, 0
|
||||
"/dev/MS5611_I2C", bus, 0
|
||||
#endif
|
||||
),
|
||||
_prom(prom)
|
||||
|
||||
@@ -100,7 +100,7 @@ MS5611_sim_interface(ms5611::prom_u &prom_buf, uint8_t busnum)
|
||||
}
|
||||
|
||||
MS5611_SIM::MS5611_SIM(uint8_t bus, ms5611::prom_u &prom) :
|
||||
SIM("MS5611_SIM", "/vdev/MS5611_SIM", bus, 0),
|
||||
SIM("MS5611_SIM", "/dev/MS5611_SIM", bus, 0),
|
||||
_prom(prom)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user