mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
* MHP30 move to I2C Bit Banging * Fixup Accelerometer drivers so all can use I2CBB * No STM32 I2C driver anymore * TS100 on I2CBB * Miniware on BB * Fixup S60 build * format format
15 lines
357 B
C
15 lines
357 B
C
#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
|
|
#elif defined(ACCEL_I2CBB1)
|
|
#include "I2CBB1.hpp"
|
|
#define ACCEL_I2C_CLASS I2CBB1
|
|
#else
|
|
#include "I2C_Wrapper.hpp"
|
|
#define ACCEL_I2C_CLASS FRToSI2C
|
|
#endif
|
|
|
|
#endif |