mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 07:57:36 +08:00
check CONFIG_I2C for I2C
This commit is contained in:
committed by
David Sidrane
parent
8a2e3800d8
commit
0764c76836
@@ -44,6 +44,10 @@
|
||||
|
||||
#include <px4_i2c.h>
|
||||
|
||||
#if !defined(CONFIG_I2C)
|
||||
# error I2C support requires CONFIG_I2C
|
||||
#endif
|
||||
|
||||
namespace device __EXPORT
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user