From 8b15168d0c550334456fcfac7c9063bc1c089b2b Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 15 Mar 2018 16:40:15 -0700 Subject: [PATCH] Make audio debugging easier --- quantum/audio/audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index 1290a129..e0e63b11 100644 --- a/quantum/audio/audio.c +++ b/quantum/audio/audio.c @@ -247,7 +247,7 @@ void audio_init() void stop_all_notes() { - dprintf("audio stop all notes"); + dprintf("audio stop all notes\n"); if (!audio_initialized) { audio_init(); @@ -280,7 +280,7 @@ void stop_all_notes() void stop_note(float freq) { - dprintf("audio stop note freq=%d", (int)freq); + dprintf("audio stop note freq=%d\n", (int)freq); if (playing_note) { if (!audio_initialized) { @@ -679,7 +679,7 @@ ISR(TIMER1_COMPC_vect) void play_note(float freq, int vol) { - dprintf("audio play note freq=%d vol=%d", (int)freq, vol); + dprintf("audio play note freq=%d vol=%d\n", (int)freq, vol); if (!audio_initialized) { audio_init();