update package name, update dependencies
This commit is contained in:
parent
43b096bd69
commit
f659bdc5b2
3 changed files with 195 additions and 211 deletions
|
@ -7,10 +7,7 @@ use std::time::Duration;
|
|||
|
||||
use clap::Parser;
|
||||
use log::{info, warn, LevelFilter};
|
||||
use servicepoint::{
|
||||
Brightness, BrightnessGrid, Command, Grid, PixelGrid, PIXEL_HEIGHT,
|
||||
PIXEL_WIDTH, TILE_HEIGHT, TILE_WIDTH,
|
||||
};
|
||||
use servicepoint::*;
|
||||
use winit::event_loop::{ControlFlow, EventLoop};
|
||||
|
||||
use crate::execute_command::execute_command;
|
||||
|
@ -100,7 +97,7 @@ fn run(
|
|||
);
|
||||
}
|
||||
|
||||
let package = match servicepoint::Packet::try_from(&buf[..amount]) {
|
||||
let package = match servicepoint::packet::Packet::try_from(&buf[..amount]) {
|
||||
Err(_) => {
|
||||
warn!("could not load packet with length {amount} into header");
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue