cargo fmt

This commit is contained in:
occheung 2024-08-21 15:30:15 +08:00
parent 60c347693f
commit 31936bee98
2 changed files with 15 additions and 4 deletions

View File

@ -69,7 +69,7 @@ pub enum Request {
ConfigRemove = 14, ConfigRemove = 14,
ConfigErase = 15, ConfigErase = 15,
DebugAllocator = 8 DebugAllocator = 8,
} }
#[repr(i8)] #[repr(i8)]
@ -824,7 +824,14 @@ async fn handle_connection(
process!(stream, _timer, _aux_mutex, _routing_table, _destination, config_erase) process!(stream, _timer, _aux_mutex, _routing_table, _destination, config_erase)
} }
Request::DebugAllocator => { Request::DebugAllocator => {
process!(stream, _timer, _aux_mutex, _routing_table, _destination, debug_allocator) process!(
stream,
_timer,
_aux_mutex,
_routing_table,
_destination,
debug_allocator
)
} }
}?; }?;
} }

View File

@ -1264,7 +1264,9 @@ fn process_aux_packet(
} }
} }
} }
drtioaux::Packet::CoreMgmtConfigEraseRequest { destination: _destination } => { drtioaux::Packet::CoreMgmtConfigEraseRequest {
destination: _destination,
} => {
forward!( forward!(
router, router,
_routing_table, _routing_table,
@ -1299,7 +1301,9 @@ fn process_aux_packet(
slcr::reboot(); slcr::reboot();
Ok(()) Ok(())
} }
drtioaux::Packet::CoreMgmtAllocatorDebugRequest { destination: _destination } => { drtioaux::Packet::CoreMgmtAllocatorDebugRequest {
destination: _destination,
} => {
forward!( forward!(
router, router,
_routing_table, _routing_table,