Fix I2C_ADDRESS sign warning (#19685)
This commit is contained in:
parent
c6cf3da276
commit
04882e2f34
|
@ -34,7 +34,7 @@
|
|||
#define HAL_ADC_RANGE _BV(HAL_ADC_RESOLUTION)
|
||||
|
||||
#ifndef I2C_ADDRESS
|
||||
#define I2C_ADDRESS(A) (A)
|
||||
#define I2C_ADDRESS(A) uint8_t(A)
|
||||
#endif
|
||||
|
||||
// Needed for AVR sprintf_P PROGMEM extension
|
||||
|
|
Loading…
Reference in a new issue