Skip to content

Commit

Permalink
remove unneeded import
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperq authored and wgreenberg committed Nov 26, 2024
1 parent 87f9cc4 commit 15f128a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use crate::framebuffer::Framebuffer;
use analysis::{get_analysis_status, run_analysis_thread, start_analysis, AnalysisCtrlMessage, AnalysisStatus};
use axum::response::Redirect;
use diag::{get_analysis_report, start_recording, stop_recording, DiagDeviceCtrlMessage};
use framebuffer::Color565;
use log::{info, error};
use rayhunter::diag_device::DiagDevice;
use axum::routing::{get, post};
Expand Down Expand Up @@ -143,7 +142,7 @@ fn run_ctrl_c_thread(

fn update_ui(task_tracker: &TaskTracker, config: &config::Config, mut ui_shutdown_rx: oneshot::Receiver<()>, mut ui_update_rx: Receiver<framebuffer::DisplayState>) -> JoinHandle<()> {
static IMAGE_DIR: Dir<'_> = include_dir!("$CARGO_MANIFEST_DIR/static/images/");
let mut display_color: Color565;
let mut display_color: framebuffer::Color565;
let display_level = config.ui_level;
if display_level == 0 {
info!("Invisible mode, not spawning UI.");
Expand Down

0 comments on commit 15f128a

Please sign in to comment.