Fix typos and outdated information.
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 10 Jan 2011 21:53:38 +0000 (21:53 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 10 Jan 2011 21:53:38 +0000 (21:53 +0000)
Demos/Device/ClassDriver/MassStorage/MassStorage.txt
Demos/Device/LowLevel/MassStorage/MassStorage.txt
LUFA/Drivers/Board/Dataflash.h
Projects/TempDataLogger/TempDataLogger.c
Projects/TempDataLogger/makefile

index 3038862..e84e584 100644 (file)
  *
  *  \section Sec_Description Project Description:
  *
- *  Dual LUN Mass Storage demonstration application. This gives a simple
- *  reference application for implementing a multiple LUN USB Mass Storage
- *  device using the basic USB UFI drivers in all modern OSes (i.e. no
- *  special drivers required).
+ *  Mass Storage device demonstration application. This gives a simple
+ *  reference application for implementing a USB Mass Storage device using
+ *  the basic USB UFI drivers in all modern OSes (i.e. no special drivers
+ *  required).
  *
  *  On start-up the system will automatically enumerate and function as an
- *  external mass storage device with two LUNs (separate disks) which may
- *  be formatted and used in the same manner as commercial USB Mass Storage
- *  devices.
+ *  external mass storage device which may be formatted and used in the same
+ *  manner as commercial USB Mass Storage devices.
  *
- *  You will need to format the mass storage drives upon first run of this
+ *  You will need to format the mass storage drive upon first run of this
  *  demonstration - as the device acts only as a data block transport between
  *  the host and the storage media, it does not matter what file system is used,
  *  as the data interpretation is performed by the host and not the USB device.
  *
- *  This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
- *  value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
- *  255), with each LUN being allocated an equal portion of the available
+ *  This demo is not restricted to only a single LUN (logical disk); by changing
+ *  the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
+ *  (from 1 to 255), with each LUN being allocated an equal portion of the available
  *  Dataflash memory.
  *
  *  The USB control endpoint is managed entirely by the library using endpoint
index 01865a7..8d04882 100644 (file)
  *
  *  \section Sec_Description Project Description:
  *
- *  Dual LUN Mass Storage demonstration application. This gives a simple
- *  reference application for implementing a multiple LUN USB Mass Storage
- *  device using the basic USB UFI drivers in all modern OSes (i.e. no
- *  special drivers required).
+ *  Mass Storage device demonstration application. This gives a simple
+ *  reference application for implementing a USB Mass Storage device using
+ *  the basic USB UFI drivers in all modern OSes (i.e. no special drivers
+ *  required).
  *
  *  On start-up the system will automatically enumerate and function as an
- *  external mass storage device with two LUNs (separate disks) which may
- *  be formatted and used in the same manner as commercial USB Mass Storage
- *  devices.
+ *  external mass storage device which may be formatted and used in the same
+ *  manner as commercial USB Mass Storage devices.
  *
- *  You will need to format the mass storage drives upon first run of this
+ *  You will need to format the mass storage drive upon first run of this
  *  demonstration - as the device acts only as a data block transport between
  *  the host and the storage media, it does not matter what file system is used,
  *  as the data interpretation is performed by the host and not the USB device.
  *
- *  This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
- *  value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
- *  255), with each LUN being allocated an equal portion of the available
+ *  This demo is not restricted to only a single LUN (logical disk); by changing
+ *  the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
+ *  (from 1 to 255), with each LUN being allocated an equal portion of the available
  *  Dataflash memory.
  *
  *  The USB control endpoint is managed entirely by the library using endpoint
index 27be323..69ffdcb 100644 (file)
 
                /* Includes: */
                        #if (BOARD == BOARD_NONE)
-                               #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.
+                               #error The Board Dataflash driver cannot be used if the makefile BOARD option is not set.
                        #elif (BOARD == BOARD_USBKEY)
                                #include "USBKEY/Dataflash.h"
                        #elif (BOARD == BOARD_STK525)
index e23d54e..ac7b231 100644 (file)
@@ -122,7 +122,7 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK)
                char     LineBuffer[100];
                uint16_t BytesWritten;
 
-               BytesWritten = sprintf(LineBuffer, "%02d/%02d/20%04d, %02d:%02d:%02d, %d Degrees\r\n",
+               BytesWritten = sprintf(LineBuffer, "%02d/%02d/20%02d, %02d:%02d:%02d, %d Degrees\r\n",
                                                           Day, Month, Year, Hour, Minute, Second, Temperature_GetTemperature());
 
                f_write(&TempLogFile, LineBuffer, BytesWritten, &BytesWritten);
index c33e381..f6d4362 100644 (file)
@@ -134,7 +134,6 @@ include $(LUFA_PATH)/LUFA/makefile
 # List C source files here. (C dependencies are automatically generated.)
 SRC = $(TARGET).c                                                 \
          Descriptors.c                                               \
-         Descriptors.c                                               \
          Lib/DataflashManager.c                                      \
          Lib/SCSI.c                                                  \
          Lib/DS1307.c                                                \