Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EXPERIMENTAL_I2CBUS build error on LPC #18040

Merged
merged 1 commit into from
May 19, 2020

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