#Using if-condition in printer.cfg

2 messages · Page 1 of 1 (latest)

livid sky
#

Any chance to use if-statements in printer.cfg? I have this [include adxl.cfg] line in my printer.cfg and i coment it with # als the time. But when i want to use the adxl i need to remove #. It would be great, if klipper could recognize if the adxl is connected or not and use [include adxl.cfg] or #[include adxl.cfg]

brisk moon
#

Sorry to say, not possible