Fix I2C_ADDRESS sign warning (#19685)

This commit is contained in:
Jason Smith 2020-10-11 17:23:23 -07:00 committed by Scott Lahteine
parent 8b4f82cd07
commit 67e0e6d5ad

View File

@ -34,7 +34,7 @@
#define HAL_ADC_RANGE _BV(HAL_ADC_RESOLUTION) #define HAL_ADC_RANGE _BV(HAL_ADC_RESOLUTION)
#ifndef I2C_ADDRESS #ifndef I2C_ADDRESS
#define I2C_ADDRESS(A) (A) #define I2C_ADDRESS(A) uint8_t(A)
#endif #endif
// Needed for AVR sprintf_P PROGMEM extension // Needed for AVR sprintf_P PROGMEM extension