diff --git a/src/main.rs b/src/main.rs index 57ad2b5745b9e1faea000147d9d9f221074ab6e0..1278639a102aa4b29b2f12b0b6b71a8c7e47994f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,11 +1,11 @@ use anyhow::bail; use image::{GenericImageView, ImageReader}; -const TOAST_TIME_SECONDS: u64 = 15; +const TOAST_TIME_SECONDS: u64 = 30; const CENTER_X: f64 = 100.0; const CENTER_Y: f64 = 100.0; -const BREAD_HEIGHT: f64 = 12.0; -const IDLE_HEIGHT: f64 = BREAD_HEIGHT + 5.0; +const BREAD_HEIGHT: f64 = 0.2; +const IDLE_HEIGHT: f64 = BREAD_HEIGHT + 8.0; const PIXEL_SIZE_MM: f64 = 3.0; fn main() -> anyhow::Result<()> { @@ -42,7 +42,7 @@ G28 ; home G90 ; absolute positioning G0 Z{IDLE_HEIGHT} G0 X{CENTER_X} Y{CENTER_Y} -M109 S230 ; heat hotend to 230C and wait +M109 S260 ; heat hotend and wait "# ); }