diff --git a/showbits-thermal-printer/meta/deploy-to-spinch b/showbits-thermal-printer/meta/deploy-to-spinch index 19a5547..8a6ffb7 100755 --- a/showbits-thermal-printer/meta/deploy-to-spinch +++ b/showbits-thermal-printer/meta/deploy-to-spinch @@ -2,11 +2,18 @@ # This script is meant to be executed inside the repo root. +echo "###############" +echo "## Compiling ##" +echo "###############" cross build --release \ --package showbits-thermal-printer \ --target aarch64-unknown-linux-gnu or return 1 +echo +echo "###############" +echo "## Uploading ##" +echo "###############" rsync -vP \ showbits-thermal-printer/meta/spinch.service \ bondrucker@spinch:showbits-thermal-printer.service @@ -22,6 +29,10 @@ rsync -vP \ bondrucker@spinch:showbits-thermal-printer or return 1 +echo +echo "################" +echo "## Restarting ##" +echo "################" ssh root@spinch "\ systemctl daemon-reload \ && systemctl restart showbits-thermal-printer.service \ diff --git a/showbits-thermal-printer/src/drawer.rs b/showbits-thermal-printer/src/drawer.rs index 4880c88..fa22a70 100644 --- a/showbits-thermal-printer/src/drawer.rs +++ b/showbits-thermal-printer/src/drawer.rs @@ -20,7 +20,7 @@ pub use self::{ text::TextDrawing, tictactoe::TicTacToeDrawing, typst::TypstDrawing, }; -pub const FEED: f32 = 64.0; +pub const FEED: f32 = 96.0; #[derive(Default)] pub struct Context {