编码转换: GBK -> UTF-8,所有.c/.h源文件中文注释统一UTF-8编码

This commit is contained in:
wangfq
2026-07-20 09:07:46 +08:00
parent b1637a13be
commit 8157ce41bd
62 changed files with 1969 additions and 1969 deletions
+6 -6
View File
@@ -11,14 +11,14 @@
*******************************************************************************/
/******************************************************************************/
/* 头文件包含 */
/* 头文件包含 */
#include "HAL.h"
/**************************************************************************************************
* GLOBAL VARIABLES
**************************************************************************************************/
static uint8_t halKeySavedKeys; /* 保留按键最后的状态,用于查询是否有键值变化 */
static uint8_t halKeySavedKeys; /* 保留按键最后的状态,用于查询是否有键值变化 */
/**************************************************************************************************
* FUNCTIONS - Local
@@ -76,19 +76,19 @@ uint8_t HalKeyRead(void)
uint8_t keys = 0;
if(HAL_PUSH_BUTTON1())
{ //读按键1
{ //读按键1
keys |= HAL_KEY_SW_1;
}
if(HAL_PUSH_BUTTON2())
{ //读按键1
{ //读按键1
keys |= HAL_KEY_SW_2;
}
if(HAL_PUSH_BUTTON3())
{ //读按键1
{ //读按键1
keys |= HAL_KEY_SW_3;
}
if(HAL_PUSH_BUTTON4())
{ //读按键1
{ //读按键1
keys |= HAL_KEY_SW_4;
}
return keys;