AP_HAL: setup HAL_I2C_INTERNAL_MASK for ChibiOS

This commit is contained in:
Andrew Tridgell 2018-07-13 19:47:29 +10:00
parent 63d385ffb1
commit 0fc6ca22f7
1 changed files with 6 additions and 0 deletions

View File

@ -76,3 +76,9 @@
// we support RC serial for BLHeli pass-thru // we support RC serial for BLHeli pass-thru
#define HAL_SUPPORT_RCOUT_SERIAL 1 #define HAL_SUPPORT_RCOUT_SERIAL 1
// by default assume first I2C bus is internal
#ifndef HAL_I2C_INTERNAL_MASK
#define HAL_I2C_INTERNAL_MASK 1
#endif