tx stale nefunguje

This commit is contained in:
Priec
2025-11-12 23:37:32 +01:00
parent 66521896b3
commit fa343624e7
52 changed files with 133 additions and 150 deletions

View File

@@ -0,0 +1,11 @@
// src/hw_uart_internal/usart2.rs
use defmt::info;
use embassy_time::Duration;
use crate::hw_uart_pc::safety::preflight_and_suggest_yield_period;
pub fn setup_and_spawn(baudrate: u32) -> Duration {
let yield_period = preflight_and_suggest_yield_period(baudrate);
info!("HW USART2 safe");
yield_period
}