What have precedence?

Hi,

A dude that how works Klipper…

If the value of a parameter is set twice in the configuration, in config.g, which one takes precedence:

  • the one Klipper reads before (it’s closer to the top)
    or
  • the one Klipper reads last?

And… If the same thing happens if it is repeated in a file referenced with “include”

The last statement takes precedence over previous statements.
In doubt, check your klippy.log file. There you will find the entire config as Klipper “sees” it.

If you do not like the way your config is organized, you can also go to the klippy.log file and copy the entire config as shown in there to your printer.cfg file. Then you will have only one file with all relevant content.

1 Like