grblHAL / ESP32

grblHAL driver for ESP32
Other
73 stars 43 forks source link

Build errors on the last commit #122

Closed boboxx closed 1 month ago

boboxx commented 1 month ago

In file included from main/main.c:35: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

*** [.pio/build/esp32/main/main.o] Error 1 In file included from main/driver.c:36: main/./driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

In file included from main/timers.c:23: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

*** [.pio/build/esp32/main/timers.o] Error 1 In file included from main/ioports.c:22: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

In file included from main/uart_serial.c:45: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

main/driver.c: In function 'I2SStepperWakeUp': main/driver.c:798:5: error: too few arguments to function 'hal.stepper.enable' hal.stepper.enable((axes_signals_t){AXES_BITMASK}); ^~~ *** [.pio/build/esp32/main/ioports.o] Error 1 In file included from main/ioports_analog.c:22: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

*** [.pio/build/esp32/main/uart_serial.o] Error 1 In file included from main/i2c.h:25, from main/i2c.c:22: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

[.pio/build/esp32/main/ioports_analog.o] Error 1 [.pio/build/esp32/main/i2c.o] Error 1 *** [.pio/build/esp32/main/driver.o] Error 1 In file included from main/ioexpand.c:26: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

*** [.pio/build/esp32/main/ioexpand.o] Error 1 In file included from main/boards/BlackBoxX32.c:24: main/driver.h:176:17: error: operator '&&' has no left operand

if USE_I2S_OUT && STEP_INJECT_ENABLE

             ^~

*** [.pio/build/esp32/main/boards/BlackBoxX32.o] Error 1 ============================== [FAILED] Took 10.73 seconds ==============================

terjeio commented 1 month ago

Fixed now.

boboxx commented 1 month ago

Thank you! it's working :)