Fix LPC + EXPERIMENTAL_I2CBUS build error (#18040)

This commit is contained in:
Jason Smith
2020-05-19 00:29:19 -07:00
committed by GitHub
parent bce9527709
commit 7696dea1c6
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ extern "C" volatile uint32_t _millis;
#include <CDCSerial.h>
// i2c uses 8-bit shifted address
#define I2C_ADDRESS(A) ((A) << 1)
#define I2C_ADDRESS(A) uint8_t((A) << 1)
//
// Default graphical display delays