refactor rtc module in rust (#118)

* 用rust重构rtc模块

* refactor the rtc module by rust

* rtc-updated

* rtc-updated-4

* rtc
This commit is contained in:
Gou Ngai
2022-12-19 15:04:37 +08:00
committed by GitHub
parent c588d6f77f
commit ba0d93d8b2
14 changed files with 100 additions and 101 deletions

View File

@ -79,6 +79,5 @@ pub fn panic(info: &PanicInfo) -> ! {
#[no_mangle]
pub extern "C" fn __rust_demo_func() -> i32 {
printk_color!(GREEN, BLACK, "__rust_demo_func()\n");
return 0;
}