Fixed Benito project discarding incoming data from the USB virtual serial port when...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 23 Nov 2010 06:56:24 +0000 (06:56 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 23 Nov 2010 06:56:24 +0000 (06:56 +0000)
Minor documentation improvements.

LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/DeviceSupport.txt
LUFA/ManPages/LUFAPoweredProjects.txt
Projects/Benito/Benito.c
Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.c
Projects/LEDNotifier/LEDNotifier.c
Projects/USBtoSerial/USBtoSerial.c
Projects/XPLAINBridge/XPLAINBridge.c

index b2aa4bb..b5d36c9 100644 (file)
@@ -7,7 +7,23 @@
  /** \page Page_ChangeLog Project Changelog
   *
   *  \section Sec_ChangeLogXXXXXX Version XXXXXX
-  *  None yet.
+  *  <b>New:</b>
+  *  - Core:
+  *   - None
+  *  - Library Applications:
+  *   - None
+  *
+  *  <b>Changed:</b>
+  *  - Core:
+  *   - None
+  *  - Library Applications:
+  *   - None
+  *
+  *  <b>Fixed:</b>
+  *  - Core:
+  *   - None
+  *  - Library Applications:
+  *   - Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy
   *
   *  \section Sec_ChangeLog101122 Version 101122
   *  <b>New:</b>
index dac4a36..7e64101 100644 (file)
@@ -40,6 +40,7 @@
  *   - Linnix UDIP
  *   - MattairTech JM-DB-U2
  *   - Maximus USB
+ *   - Microsin AVR-USB162
  *   - Minimus USB
  *   - Olimex AVR-USB-162
  *   - PJRC Teensy (all revisions and versions)
index 7227ede..ac83a24 100644 (file)
@@ -92,4 +92,9 @@
  *  - Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
  *  - Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
  *  - Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
+ *
+ *  \section Sec_LUFANotableMentions Other Notable Mentions of LUFA
+ *  - Adafruit "Ask an Engineer", 7th November 2010
+ *  - Arduino 2010 Keynote speech
+ *  - The Amp Hour podcast blog #11
  */
index 0e6eacb..fbb8184 100644 (file)
@@ -92,10 +92,9 @@ int main(void)
        for (;;)
        {
                /* Echo bytes from the host to the target via the hardware USART */
-               int16_t ReceivedByte = CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
-               if (!(ReceivedByte < 0) && (UCSR1A & (1 << UDRE1)))
+               if ((UCSR1A & (1 << UDRE1)) && CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
                {
-                       UDR1 = ReceivedByte;
+                       UDR1 = CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
 
                        LEDs_TurnOnLEDs(LEDMASK_TX);
                        PulseMSRemaining.TxLEDPulse = TX_RX_LED_PULSE_MS;
index c1d1d23..35be12c 100644 (file)
@@ -31,7 +31,7 @@
 /** \file
  *
  *  Main source file for the Standalone Programmer project. This file contains the main tasks of
- *  the demo and is responsible for the initial application hardware configuration.
+ *  the project and is responsible for the initial application hardware configuration.
  */
 
 #define  INCLUDE_FROM_STANDALONEPROG_C
index 4ebfb7a..2001c5f 100644 (file)
@@ -31,7 +31,7 @@
 /** \file
  *
  *  Main source file for the LEDNotfier project. This file contains the main tasks of
- *  the demo and is responsible for the initial application hardware configuration.
+ *  the project and is responsible for the initial application hardware configuration.
  */
 
 #include "LEDNotifier.h"
index 7f3474a..1dfd708 100644 (file)
@@ -31,7 +31,7 @@
 /** \file
  *
  *  Main source file for the USBtoSerial project. This file contains the main tasks of
- *  the demo and is responsible for the initial application hardware configuration.
+ *  the project and is responsible for the initial application hardware configuration.
  */
 
 #include "USBtoSerial.h"
index 15cb87d..7c824ec 100644 (file)
@@ -31,7 +31,7 @@
 /** \file
  *
  *  Main source file for the XPLAINBridge project. This file contains the main tasks of
- *  the demo and is responsible for the initial application hardware configuration.
+ *  the project and is responsible for the initial application hardware configuration.
  */
 
 #include "XPLAINBridge.h"