Make all accelerometers I2C bus aware

Update accelerometers_common.h
This commit is contained in:
Ben V. Brown
2023-07-22 18:18:07 +10:00
parent 964d37a8e8
commit 1396363eaa
7 changed files with 47 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
#ifndef CORE_DRIVERS_ACCELEROMTERS_COMMON_H_
#define CORE_DRIVERS_ACCELEROMTERS_COMMON_H_
#include "configuration.h"
#if defined(ACCEL_I2CBB2)
#include "I2CBB2.hpp"
#define ACCEL_I2C_CLASS I2CBB2