grblHAL / LPC176x

grblHAL driver for LPC1968 and LPC1769
Other
18 stars 22 forks source link

Compile Error #48

Closed Benkei closed 7 months ago

Benkei commented 7 months ago

hi, I am currently trying to compile a new version and am getting some errors. Can you fix them?

Thanks

My Config:

#define BOARD_BTT_SKR_13
#define TRINAMIC_ENABLE       2209

Compile Error:

../src/tmc_uart.c:324:36: error: 'xbar_t' {aka 'struct xbar'} has no member named 'bit'
  324 |             uart[X_AXIS].bit = gpio->bit;
      |                                    ^~
../src/tmc_uart.c:329:36: error: 'xbar_t' {aka 'struct xbar'} has no member named 'bit'
  329 |             uart[Y_AXIS].bit = gpio->bit;
      |                                    ^~
../src/tmc_uart.c:334:36: error: 'xbar_t' {aka 'struct xbar'} has no member named 'bit'
  334 |             uart[Z_AXIS].bit = gpio->bit;
      |                                    ^~
../src/tmc_uart.c:339:31: error: 'xbar_t' {aka 'struct xbar'} has no member named 'bit'
  339 |             uart[3].bit = gpio->bit;
      |                               ^~
../src/tmc_uart.c:344:31: error: 'xbar_t' {aka 'struct xbar'} has no member named 'bit'
  344 |             uart[4].bit = gpio->bit;
      |                               ^~
Benkei commented 7 months ago

Fix in #49