mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
HAL_Linux: allow for 16 I2C buses on Linux
This commit is contained in:
parent
16bd8ae852
commit
59a3deba3e
@ -385,7 +385,7 @@
|
|||||||
|
|
||||||
// if bus masks are not setup above then use these defaults
|
// if bus masks are not setup above then use these defaults
|
||||||
#ifndef HAL_LINUX_I2C_BUS_MASK
|
#ifndef HAL_LINUX_I2C_BUS_MASK
|
||||||
#define HAL_LINUX_I2C_BUS_MASK 0x1f
|
#define HAL_LINUX_I2C_BUS_MASK 0xFFFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_LINUX_I2C_INTERNAL_BUS_MASK
|
#ifndef HAL_LINUX_I2C_INTERNAL_BUS_MASK
|
||||||
@ -393,5 +393,5 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_LINUX_I2C_EXTERNAL_BUS_MASK
|
#ifndef HAL_LINUX_I2C_EXTERNAL_BUS_MASK
|
||||||
#define HAL_LINUX_I2C_EXTERNAL_BUS_MASK 0x1E
|
#define HAL_LINUX_I2C_EXTERNAL_BUS_MASK 0xFFFF
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user