DerAndere1 / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform. The branch Marlin2ForPipetBot is optimized firmware for cartesian robots (lab robots, also known as liquid handling robots or pipetting robots)
https://derandere.gitlab.io/pipetbot-a8
GNU General Public License v3.0
53 stars 20 forks source link

Compilation Bug #22

Closed heppstar closed 4 years ago

heppstar commented 4 years ago

Description

Some compilation bugs.

Hardware: Prototype Robot with SKR PRO v1.1 and six axis (TMC2209) Marlin Dist: BF2_6axis_dev14 0f8be77

Steps to Reproduce

Configuration_store.cpp Line 3418-3427 gives compile error "can not start with ||"...

  #if AXIS_IS_TMC(X) || AXIS_IS_TMC(Y) || AXIS_IS_TMC(Z) 
    #if NON_E_AXES > 3
      || AXIS_IS_TMC(I)
      #if NON_E_AXES > 4
        || AXIS_IS_TMC(J) 
        #if NON_E_AXES > 5
          || AXIS_IS_TMC(K)
        #endif
      #endif
    #endif

Expected behavior: [What you expect to happen]

Compilation

Actual behavior: [What actually happens]

No compilation

Additional Information

I would be glad help you test all the new commits that are coming! This is the best project ever on Github! :)

My config

Config_files.zip

DerAndere1 commented 4 years ago

Should be fixed with today's commit. Reopen if you still encounter this bug