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:
Mark Charlebois
2015-04-20 11:37:50 -07:00
parent d2f0572ce6
commit 89a1799e61
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
{
}