feat: add headless display mode

This commit is contained in:
oopsbagel
2025-06-23 18:08:14 -07:00
committed by Cooper Quintin
parent b16a351727
commit d3bd8d9dfc
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
use log::info;
use tokio::sync::mpsc::Receiver;
use tokio::sync::oneshot;
use tokio_util::task::TaskTracker;
use crate::config;
use crate::display::DisplayState;
pub fn update_ui(
_task_tracker: &TaskTracker,
_config: &config::Config,
_ui_shutdown_rx: oneshot::Receiver<()>,
_ui_update_rx: Receiver<DisplayState>,
) {
info!("Headless mode, not spawning UI.");
}

View File

@@ -1,6 +1,7 @@
mod generic_framebuffer;
pub mod orbic;
pub mod headless;
pub mod tmobile;
pub mod tplink;
pub mod tplink_framebuffer;