mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
更新硬件设置
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "main.h"
|
||||
#include "key.h"
|
||||
#include "beep.h"
|
||||
#include "BL24C02.h" // settings
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
|
||||
@@ -29,7 +30,7 @@ void KeyTask(void *argument)
|
||||
{
|
||||
osMessageQueuePut(Key_MessageQueue, &keystr, 0, 1);
|
||||
// beep
|
||||
if(1)
|
||||
if(Sys_Get_KeySoundEnable())
|
||||
{
|
||||
beep_open();
|
||||
osDelay(50);
|
||||
|
||||
Reference in New Issue
Block a user