mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
添加cmakelists的支持,修复了一些静态检查warning
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "string.h"
|
||||
|
||||
static PWMInstance *buzzer;
|
||||
static uint8_t idx;
|
||||
// static uint8_t idx;
|
||||
static BuzzzerInstance *buzzer_list[BUZZER_DEVICE_CNT] = {0};
|
||||
|
||||
/**
|
||||
@@ -84,6 +84,8 @@ void BuzzerTask()
|
||||
case OCTAVE_7:
|
||||
PWMSetPeriod(buzzer, (float)1 / SiFreq);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user