Skip to content

Conversation

@sjasonsmith
Copy link
Contributor

Description

The bit-shift in the LPC1768 version of I2C_ADDRESS loses the uint8_t type. This results in an ambiguous call when calling TWIBus::debug because no exact call signature matches the type.

This forces the type to uint8_t, to resolve this ambiguity.

Benefits

Fixes build when EXPERIMENTAL_I2CBUS is enabled.

Related Issues

#18019

@thinkyhead thinkyhead merged commit 7696dea into MarlinFirmware:bugfix-2.0.x May 19, 2020
@sjasonsmith sjasonsmith deleted the Issues/18019 branch May 25, 2020 22:29
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request May 29, 2020
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants