HAL_Linux: allow for 16 I2C buses on Linux

This commit is contained in:
Andrew Tridgell 2018-06-23 10:33:06 +10:00 committed by Randy Mackay
parent 16bd8ae852
commit 59a3deba3e
1 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@
// if bus masks are not setup above then use these defaults
#ifndef HAL_LINUX_I2C_BUS_MASK
#define HAL_LINUX_I2C_BUS_MASK 0x1f
#define HAL_LINUX_I2C_BUS_MASK 0xFFFF
#endif
#ifndef HAL_LINUX_I2C_INTERNAL_BUS_MASK
@ -393,5 +393,5 @@
#endif
#ifndef HAL_LINUX_I2C_EXTERNAL_BUS_MASK
#define HAL_LINUX_I2C_EXTERNAL_BUS_MASK 0x1E
#define HAL_LINUX_I2C_EXTERNAL_BUS_MASK 0xFFFF
#endif