Fixed - si5351 needs tweaking

This commit is contained in:
2026-08-25 12:03:28 -04:00
parent f18f91072e
commit caf3285384
2 changed files with 13 additions and 13 deletions

View File

@@ -254,19 +254,19 @@ fn main() -> ! {
let tune_str = str::from_utf8(&tune_str_buf[tune_str_buf.len() - len..]).unwrap();
// info!("len {}", len);
gfx_buf.draw_string(64 + 6 * (5 - len as u8), 28, tune_str);
// gfx_buf.draw_string(64 + 6 * (5 - len as u8), 28, tune_str);
gfx_buf.draw_string(20, 40, message);
// gfx_buf.draw_string(20, 40, message);
match input_mode {
InputMode::DisplayOnly => (),
InputMode::TuneDigit(d) => {
let x = 64 + 6 * (4 - d) as u8;
gfx_buf.draw_bresenham_line(x, 36, x + 5, 36);
}
}
// match input_mode {
// InputMode::DisplayOnly => (),
// InputMode::TuneDigit(d) => {
// let x = 64 + 6 * (4 - d) as u8;
// gfx_buf.draw_bresenham_line(x, 36, x + 5, 36);
// }
// }
gfx_buf.redraw();
// gfx_buf.redraw();
// sh1106_dev.blit_framebuffer(&mut i2c, &mut gfx_buf);
}
}