aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-06-01 14:10:35 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-06-01 14:10:35 +0000
commit6d2a08f1b77208de1f71dd4035d21f13e3f90462 (patch)
tree33bd7928495328c8df90700547df636bb54636d3 /Demos/Host/Incomplete
parent68468e0aea1c5b95c4b0d6277063863099c9ba21 (diff)
downloadlufa-6d2a08f1b77208de1f71dd4035d21f13e3f90462.tar.gz
lufa-6d2a08f1b77208de1f71dd4035d21f13e3f90462.tar.bz2
lufa-6d2a08f1b77208de1f71dd4035d21f13e3f90462.zip
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output.
Diffstat (limited to 'Demos/Host/Incomplete')
-rw-r--r--Demos/Host/Incomplete/AudioInputHost/AudioInputHost.c5
-rw-r--r--Demos/Host/Incomplete/AudioOutputHost/AudioOutputHost.c1
2 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/Incomplete/AudioInputHost/AudioInputHost.c b/Demos/Host/Incomplete/AudioInputHost/AudioInputHost.c
index 8c98bcf6f..6fe869cda 100644
--- a/Demos/Host/Incomplete/AudioInputHost/AudioInputHost.c
+++ b/Demos/Host/Incomplete/AudioInputHost/AudioInputHost.c
@@ -216,8 +216,7 @@ void Audio_Task(void)
DDRC |= (1 << 6);
/* PWM speaker timer initialization */
- TCCR3A = ((1 << WGM30) | (1 << COM3A1) | (1 << COM3A0)
- | (1 << COM3B1) | (1 << COM3B0)); // Set on match, clear on TOP
+ TCCR3A = ((1 << WGM30) | (1 << COM3A1) | (1 << COM3A0)); // Set on match, clear on TOP
TCCR3B = ((1 << WGM32) | (1 << CS30)); // Fast 8-Bit PWM, F_CPU speed
puts_P(PSTR("Microphone Enumerated.\r\n"));
@@ -225,6 +224,7 @@ void Audio_Task(void)
USB_HostState = HOST_STATE_Configured;
break;
case HOST_STATE_Configured:
+ /* Do nothing - audio stream is handled by the timer interrupt routine */
break;
}
}
@@ -269,6 +269,5 @@ ISR(TIMER0_COMPA_vect, ISR_BLOCK)
}
Pipe_Freeze();
-
Pipe_SelectPipe(PrevPipe);
}
diff --git a/Demos/Host/Incomplete/AudioOutputHost/AudioOutputHost.c b/Demos/Host/Incomplete/AudioOutputHost/AudioOutputHost.c
index fed18cb0c..98df42372 100644
--- a/Demos/Host/Incomplete/AudioOutputHost/AudioOutputHost.c
+++ b/Demos/Host/Incomplete/AudioOutputHost/AudioOutputHost.c
@@ -218,6 +218,7 @@ void Audio_Task(void)
USB_HostState = HOST_STATE_Configured;
break;
case HOST_STATE_Configured:
+ /* Do nothing - audio stream is handled by the timer interrupt routine */
break;
}
}