From 95d016255ff1e687fa4eb98b6a61f383385bcfaf Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Sun, 10 Nov 2024 01:02:25 +0100 Subject: [PATCH] Beacon: emit zero_reference_position for bed_mesh --- src/server/helpers/klipper-config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/helpers/klipper-config.ts b/src/server/helpers/klipper-config.ts index 58d3b09e3..43910ba5c 100644 --- a/src/server/helpers/klipper-config.ts +++ b/src/server/helpers/klipper-config.ts @@ -908,6 +908,8 @@ export const constructKlipperConfigHelpers = async ( const reminder: string[] = []; reminder.push('# REMEMBER TO CALIBRATE YOUR BEACON!'); reminder.push('# Run BEACON_RATOS_CALIBRATE for automatic calibration.'); + result.push('[bed_mesh]'); + result.push(`zero_reference_position: ${config.size.x / 2},${config.size.y / 2}`); extrasGenerator.addReminder(reminder.join('\n')); } break;