mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 05:01:36 +08:00
Linux: changed CDev to VDev for virtual device implementation
To avoid confusion when a real device and a virtual device is being used, changed CDev to VDev for Linux. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -50,7 +50,11 @@ namespace device __EXPORT
|
||||
/**
|
||||
* Abstract class for character device on SPI
|
||||
*/
|
||||
#ifdef __PX4_NUTTX
|
||||
class __EXPORT SPI : public CDev
|
||||
#else
|
||||
class __EXPORT SPI : public VDev
|
||||
#endif
|
||||
{
|
||||
protected:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user