Now works, either wire or i2c_t3 via define in header

This commit is contained in:
Jogi Kuenstner
2021-02-14 23:42:33 +01:00
parent 97b654cf32
commit 9bb87c492a
2 changed files with 8 additions and 2 deletions
+3 -2
View File
@@ -42,10 +42,11 @@
#include <SPI.h>
#endif
#ifdef U8X8_HAVE_HW_I2C
#ifdef U8X8_HAVE_HW_I2C_TEENSY3
#include <i2c_t3.h>
#else
#include <Wire.h>
#endif
#ifdef U8X8_HAVE_HW_I2C_T3
#include <i2c_t3.h>
#endif