소스 검색

fix: csi_coret_config有个未使用的参数,导致所以编译文件都有警告

Wendal Chen 2 년 전
부모
커밋
30f82f943b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/arch/xt804/csi_core/core_804.h

+ 1 - 0
include/arch/xt804/csi_core/core_804.h

@@ -967,6 +967,7 @@ __STATIC_INLINE uint32_t csi_vic_get_vector(int32_t IRQn)
  */
 __STATIC_INLINE uint32_t csi_coret_config(uint32_t ticks, int32_t IRQn)
 {
+    (void)IRQn;
     if ((ticks - 1UL) > CORET_LOAD_RELOAD_Msk) {
         return (1UL);                                                   /* Reload value impossible */
     }