Increase feed padding

This commit is contained in:
Joscha 2025-02-27 20:20:57 +01:00
parent 45102d108d
commit 0ed868ff6d
2 changed files with 12 additions and 1 deletions

View file

@ -2,11 +2,18 @@
# This script is meant to be executed inside the repo root. # This script is meant to be executed inside the repo root.
echo "###############"
echo "## Compiling ##"
echo "###############"
cross build --release \ cross build --release \
--package showbits-thermal-printer \ --package showbits-thermal-printer \
--target aarch64-unknown-linux-gnu --target aarch64-unknown-linux-gnu
or return 1 or return 1
echo
echo "###############"
echo "## Uploading ##"
echo "###############"
rsync -vP \ rsync -vP \
showbits-thermal-printer/meta/spinch.service \ showbits-thermal-printer/meta/spinch.service \
bondrucker@spinch:showbits-thermal-printer.service bondrucker@spinch:showbits-thermal-printer.service
@ -22,6 +29,10 @@ rsync -vP \
bondrucker@spinch:showbits-thermal-printer bondrucker@spinch:showbits-thermal-printer
or return 1 or return 1
echo
echo "################"
echo "## Restarting ##"
echo "################"
ssh root@spinch "\ ssh root@spinch "\
systemctl daemon-reload \ systemctl daemon-reload \
&& systemctl restart showbits-thermal-printer.service \ && systemctl restart showbits-thermal-printer.service \

View file

@ -20,7 +20,7 @@ pub use self::{
text::TextDrawing, tictactoe::TicTacToeDrawing, typst::TypstDrawing, text::TextDrawing, tictactoe::TicTacToeDrawing, typst::TypstDrawing,
}; };
pub const FEED: f32 = 64.0; pub const FEED: f32 = 96.0;
#[derive(Default)] #[derive(Default)]
pub struct Context { pub struct Context {