Skip to content

Commit

Permalink
Fix LPC + EXPERIMENTAL_I2CBUS build error (#18040)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored May 19, 2020
1 parent bce9527 commit 7696dea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ extern "C" volatile uint32_t _millis;
#include <CDCSerial.h>

// i2c uses 8-bit shifted address
#define I2C_ADDRESS(A) ((A) << 1)
#define I2C_ADDRESS(A) uint8_t((A) << 1)

//
// Default graphical display delays
Expand Down
3 changes: 2 additions & 1 deletion buildroot/share/tests/LPC1769-tests
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ opt_set Y_DRIVER_TYPE TMC2130
opt_set Z_DRIVER_TYPE TMC2130
opt_enable AUTO_BED_LEVELING_BILINEAR EEPROM_SETTINGS EEPROM_CHITCHAT \
TMC_USE_SW_SPI MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z HYBRID_THRESHOLD \
SENSORLESS_PROBING Z_SAFE_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY TMC_DEBUG
SENSORLESS_PROBING Z_SAFE_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY TMC_DEBUG \
EXPERIMENTAL_I2CBUS
opt_disable PSU_CONTROL
exec_test $1 $2 "Cohesion3D Remix DELTA + ABL Bilinear + EEPROM + SENSORLESS_PROBING"

Expand Down

0 comments on commit 7696dea

Please sign in to comment.