From 6c63082072383cbb21c507c143ae6b00bf965096 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Fri, 10 Mar 2023 04:52:04 -0500 Subject: [PATCH] Moved many sections from printer.cfg to misc-macros.cfg. --- cfgs/misc-macros.cfg | 13 +++++++++++++ printer.cfg | 23 +++-------------------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/cfgs/misc-macros.cfg b/cfgs/misc-macros.cfg index f762c09..643707d 100644 --- a/cfgs/misc-macros.cfg +++ b/cfgs/misc-macros.cfg @@ -1,3 +1,16 @@ +[force_move] +enable_force_move: True + +[temperature_sensor raspberry_pi] +sensor_type: temperature_host + +[virtual_sdcard] +path: /home/pi/printer_data/gcodes + +# NOTE Cancel objects feature is enabled. If you're using a low powered device, comment out [exclude_object]. +# Also see [file_manager] section in moonraker.conf. +[exclude_object] + [pause_resume] [display_status] diff --git a/printer.cfg b/printer.cfg index 3a0387a..e7d0049 100644 --- a/printer.cfg +++ b/printer.cfg @@ -4,7 +4,7 @@ # # See https://www.klipper3d.org/Config_Reference.html for configuration reference. -[include ./cfgs/macros.cfg] +[include ./cfgs/misc-macros.cfg] [include ./cfgs/PARKING.cfg] [include ./cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg] [include ./cfgs/beeper.cfg] @@ -128,9 +128,6 @@ pid_kd: 1343.571 min_temp: 0 max_temp: 110 -[fan] -pin: PA0 - [probe] pin: PB1 x_offset: 27 @@ -157,12 +154,6 @@ fade_start: 1 fade_end: 10 fade_target: 0 -[virtual_sdcard] -path: /home/pi/printer_data/gcodes - -[temperature_sensor raspberry_pi] -sensor_type: temperature_host - [display] lcd_type: st7920 cs_pin: PB12 @@ -196,13 +187,5 @@ speed: 50 horizontal_move_z: 10 screw_thread: CCW-M4 -# NOTE this is the pin for the filament switch, if you have one -# [filament_switch_sensor fil_sensor] -# switch_pin: PA4 # "Pulled-high" - -# NOTE Cancel objects feature is enabled. If you're using a low powered device, comment out [exclude_object]. -# Also see [file_manager] section in moonraker.conf. -[exclude_object] - -[force_move] -enable_force_move: True \ No newline at end of file +[fan] +pin: PA0