forked from ROMEO/obsw
xilinx eth in own folder. found another bug/challenge with dma
This commit is contained in:
@ -24,8 +24,8 @@ fn panic(panic: &PanicInfo<'_>) -> ! {
|
||||
_ = writeln!(crate::fsrc::sif::Stderr {},"");
|
||||
_ = write!(crate::fsrc::sif::Stderr {},"in task \"");
|
||||
unsafe {
|
||||
//osal::get_task_name is implemented safely in C, so we trust it
|
||||
let task_name = core::ffi::CStr::from_ptr(osal::get_task_name());
|
||||
//TODO this breaks all the time...
|
||||
let task_name = core::ffi::CStr::from_ptr(osal::get_task_name());
|
||||
let task_name_utf8 = core::str::from_utf8(task_name.to_bytes());
|
||||
match task_name_utf8 {
|
||||
Ok(string) => {
|
||||
|
Reference in New Issue
Block a user