forked from Archive/PX4-Autopilot
SPI: make _bus protected
this allows runtime use of internal/external bus to determine if DRDY should be used on the L3GD20
This commit is contained in:
parent
644d4bb3dc
commit
fea4845ed9
|
@ -124,11 +124,13 @@ protected:
|
|||
LockMode locking_mode; /**< selected locking mode */
|
||||
|
||||
private:
|
||||
int _bus;
|
||||
enum spi_dev_e _device;
|
||||
enum spi_mode_e _mode;
|
||||
uint32_t _frequency;
|
||||
struct spi_dev_s *_dev;
|
||||
|
||||
protected:
|
||||
int _bus;
|
||||
};
|
||||
|
||||
} // namespace device
|
||||
|
|
Loading…
Reference in New Issue