jschuh / klipper-macros

A collection of useful macros for the Klipper 3D printer firmware
GNU General Public License v3.0
972 stars 172 forks source link

Cannot override variable_print_max #38

Closed Linux271828 closed 1 year ago

Linux271828 commented 1 year ago

I recently added a dockable probe and set variable_print_max.

[gcode_macro _km_options]
variable_print_max: (120, 115)

I'm getting this error: Error evaluating 'gcode_macro _km_globals:gcode': CommandError: print_max is not a valid type for _KM_OPTIONS.

jschuh commented 1 year ago

Sorry, that was a dumb bug on my part. Should be fixed now.