Jelajahi Sumber

fix compiling warning.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2552 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 12 tahun lalu
induk
melakukan
54351d17de
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      include/rthw.h

+ 1 - 1
include/rthw.h

@@ -60,7 +60,7 @@ void rt_hw_show_memory(rt_uint32_t addr, rt_uint32_t size);
 /*
  * exception interfaces
  */
-void rt_hw_exception_install(void (*exception_handle)(void* context));
+void rt_hw_exception_install(rt_err_t (*exception_handle)(void* context));
 
 #ifdef __cplusplus
 }