satman coremgmt: code after reboot is unreachable

This commit is contained in:
occheung 2024-09-04 14:39:43 +08:00
parent 1fc059f47a
commit 3cf2d6be9d
1 changed files with 2 additions and 1 deletions

View File

@ -1262,7 +1262,8 @@ fn process_aux_packet(
drtioaux::send(0, &drtioaux::Packet::CoreMgmtReply { succeeded: true })?; drtioaux::send(0, &drtioaux::Packet::CoreMgmtReply { succeeded: true })?;
info!("reboot imminent"); info!("reboot imminent");
slcr::reboot(); slcr::reboot();
Ok(())
unreachable!();
} }
drtioaux::Packet::CoreMgmtAllocatorDebugRequest { drtioaux::Packet::CoreMgmtAllocatorDebugRequest {
destination: _destination, destination: _destination,