Skip to content
Snippets Groups Projects
Commit 303c462f authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Include hw/sw i2c based on preprocessor macros

parent c85f1aaf
No related branches found
No related tags found
No related merge requests found
#include "driver/lm75.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
#else
#include "driver/soft_i2c.h"
#endif
float LM75::getTemp()
{
......
#include "driver/mmsimple.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
#else
#include "driver/soft_i2c.h"
#endif
void MicroMoodySimple::sendCmd(unsigned char byte)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment