[DO NOT MERGE] px4_i2c_device_external hacks

This commit is contained in:
Daniel Agar
2022-09-15 16:20:15 -04:00
parent b1c7098c54
commit 338ca2cc2a
7 changed files with 60 additions and 4 deletions
@@ -66,6 +66,11 @@ static inline bool px4_i2c_bus_external(int bus)
return true;
}
/**
* runtime-check if a board has a specific device as external.
* This can be overridden by a board to add run-time checks.
*/
__EXPORT bool px4_i2c_device_external(const uint32_t device_id);
/**
* @class I2CBusIterator