This commit is contained in:
lmx
2025-12-17 11:54:19 +08:00
parent 141b538bf5
commit 0087d2922a
18 changed files with 3285 additions and 457 deletions

View File

@ -169,6 +169,7 @@ static const struct sin_param *get_sine_param_by_index(u8 index, u8 *num)
__BANK_TONE_ENTRY
int tone_play_index(u8 index, u8 preemption)
{
return 0; //xtell
printf("tone_play_index:%d,preemption:%d", index, preemption);
if (index >= IDEX_TONE_NONE) {
return 0;
@ -202,6 +203,7 @@ int tone_play_index_no_tws(u8 index, u8 preemption)
/* __BANK_TONE_ENTRY */
int tone_play_index_with_callback(u8 index, u8 preemption, void (*user_evt_handler)(void *priv), void *priv)
{
return 0; //xtell
printf("tone_play_index:%d,preemption:%d", index, preemption);
if (index >= IDEX_TONE_NONE) {
return 0;