Skip to content

Commit

Permalink
Fix I2C_ADDRESS sign warning (#19685)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored Oct 12, 2020
1 parent bdd5559 commit 24fd192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24fd192

Please sign in to comment.