feat(cli): use pure sine wave for CLI beep (#7444)

This commit is contained in:
3djc
2026-06-12 12:54:22 +10:00
committed by GitHub
parent 4bfa3d802f
commit d360c32eec
4 changed files with 60 additions and 13 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ int cliBeep(const char ** argv)
int freq = BEEP_DEFAULT_FREQ;
int duration = 100;
if (toInt(argv, 1, &freq) >= 0 && toInt(argv, 2, &duration) >= 0) {
audioQueue.playTone(freq, duration, 20, PLAY_NOW);
audioQueue.playTone(freq, duration, 20, PLAY_NOW | PLAY_PURE);
}
return 0;
}