Parcourir la source

fix: 添加打印函数注释

simon il y a 11 mois
Parent
commit
defcff20d3
1 fichiers modifiés avec 12 ajouts et 4 suppressions
  1. 12 4
      lib/kernel/print.h

+ 12 - 4
lib/kernel/print.h

@@ -3,10 +3,18 @@
 
 #include "stdint.h"
 
-/// @brief 打印字符
-/// @param char_ascii ascii 字符
+/**
+ * @brief  打印字符
+ * @note   打印 ascii characters
+ * @param  char_ascii: ascii string
+ * @retval None
+ */
 void put_char(uint8_t char_ascii);
-/// @brief 打印字符串
-/// @param message 字符串地址
+/**
+ * @brief  打印字符串
+ * @note   调用 put_char 打印字符串
+ * @param  *message: 字符串地址
+ * @retval None
+ */
 void put_str(char *message);
 #endif // __LIB_KERNEL_PRINT_H