Explorar o código

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

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
30f82f943b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 */
     }