refactor: flatten radio.rs and display.rs, zero warnings

- Flattened radio/ directory to radio.rs (was just one file)
- Flattened display/ to display.rs (combined task + rendering as inline module)
- Moved SH1106 display driver reference from display/ to driver/ (done in Phase 2)
- Suppressed dead_code warnings for conditional USB/UART types in hal
- All boards: zero warnings, zero cfg in application code
This commit is contained in:
swaits committed 2026-04-07 09:43:46 -06:00
1 parent 2c852b9f45
commit 622684cdde
9 files changed
+655 -651

No files matched your search

+2 -1
View File
@@ -12,8 +12,9 @@ use embassy_sync::watch::Watch;
use crate::protocol::{Command, RadioConfig, Response};
/// Display commands routed from usb_task to display_task.
/// Display commands routed from host_task to display_task.
#[derive(Debug, Clone, Copy, defmt::Format)]
#[allow(dead_code)] // Reset is only used by USB boards (DTR disconnect detection)
pub enum DisplayCommand {
On,
Off,