[tuxdroid-svn] r622 - firmware/tuxaudio/trunk
Status: Beta
Brought to you by:
ks156
From: Paul_R <c2m...@c2...> - 2007-10-17 08:34:00
|
Author: Paul_R Date: 2007-10-17 10:33:59 +0200 (Wed, 17 Oct 2007) New Revision: 622 Modified: firmware/tuxaudio/trunk/flash.c Log: * Fix a little bug in the while loop of the playingSound function. Modified: firmware/tuxaudio/trunk/flash.c =================================================================== --- firmware/tuxaudio/trunk/flash.c 2007-10-16 15:53:29 UTC (rev 621) +++ firmware/tuxaudio/trunk/flash.c 2007-10-17 08:33:59 UTC (rev 622) @@ -261,7 +261,7 @@ { uint8_t sound; HOLD_OFF; - while (spi_start && !isFifoFull(&PWMFifo)) + while (!spi_start && !isFifoFull(&PWMFifo)) { sound = spiSend(0x00); // Wait response sound = sound >> audioLevel; |