forked from mfulz_github/qmk_firmware
Fix typos and outdated information.
This commit is contained in:
parent
154f934b22
commit
187ccb2e15
@ -47,24 +47,23 @@
|
|||||||
*
|
*
|
||||||
* \section Sec_Description Project Description:
|
* \section Sec_Description Project Description:
|
||||||
*
|
*
|
||||||
* Dual LUN Mass Storage demonstration application. This gives a simple
|
* Mass Storage device demonstration application. This gives a simple
|
||||||
* reference application for implementing a multiple LUN USB Mass Storage
|
* reference application for implementing a USB Mass Storage device using
|
||||||
* device using the basic USB UFI drivers in all modern OSes (i.e. no
|
* the basic USB UFI drivers in all modern OSes (i.e. no special drivers
|
||||||
* special drivers required).
|
* required).
|
||||||
*
|
*
|
||||||
* On start-up the system will automatically enumerate and function as an
|
* On start-up the system will automatically enumerate and function as an
|
||||||
* external mass storage device with two LUNs (separate disks) which may
|
* external mass storage device which may be formatted and used in the same
|
||||||
* be formatted and used in the same manner as commercial USB Mass Storage
|
* manner as commercial USB Mass Storage devices.
|
||||||
* 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
|
* 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,
|
* 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.
|
* 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
|
* This demo is not restricted to only a single LUN (logical disk); by changing
|
||||||
* value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
|
* the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
|
||||||
* 255), with each LUN being allocated an equal portion of the available
|
* (from 1 to 255), with each LUN being allocated an equal portion of the available
|
||||||
* Dataflash memory.
|
* Dataflash memory.
|
||||||
*
|
*
|
||||||
* The USB control endpoint is managed entirely by the library using endpoint
|
* The USB control endpoint is managed entirely by the library using endpoint
|
||||||
|
@ -47,24 +47,23 @@
|
|||||||
*
|
*
|
||||||
* \section Sec_Description Project Description:
|
* \section Sec_Description Project Description:
|
||||||
*
|
*
|
||||||
* Dual LUN Mass Storage demonstration application. This gives a simple
|
* Mass Storage device demonstration application. This gives a simple
|
||||||
* reference application for implementing a multiple LUN USB Mass Storage
|
* reference application for implementing a USB Mass Storage device using
|
||||||
* device using the basic USB UFI drivers in all modern OSes (i.e. no
|
* the basic USB UFI drivers in all modern OSes (i.e. no special drivers
|
||||||
* special drivers required).
|
* required).
|
||||||
*
|
*
|
||||||
* On start-up the system will automatically enumerate and function as an
|
* On start-up the system will automatically enumerate and function as an
|
||||||
* external mass storage device with two LUNs (separate disks) which may
|
* external mass storage device which may be formatted and used in the same
|
||||||
* be formatted and used in the same manner as commercial USB Mass Storage
|
* manner as commercial USB Mass Storage devices.
|
||||||
* 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
|
* 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,
|
* 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.
|
* 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
|
* This demo is not restricted to only a single LUN (logical disk); by changing
|
||||||
* value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
|
* the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
|
||||||
* 255), with each LUN being allocated an equal portion of the available
|
* (from 1 to 255), with each LUN being allocated an equal portion of the available
|
||||||
* Dataflash memory.
|
* Dataflash memory.
|
||||||
*
|
*
|
||||||
* The USB control endpoint is managed entirely by the library using endpoint
|
* The USB control endpoint is managed entirely by the library using endpoint
|
||||||
|
@ -234,7 +234,7 @@
|
|||||||
|
|
||||||
/* Includes: */
|
/* Includes: */
|
||||||
#if (BOARD == BOARD_NONE)
|
#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)
|
#elif (BOARD == BOARD_USBKEY)
|
||||||
#include "USBKEY/Dataflash.h"
|
#include "USBKEY/Dataflash.h"
|
||||||
#elif (BOARD == BOARD_STK525)
|
#elif (BOARD == BOARD_STK525)
|
||||||
|
@ -122,7 +122,7 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK)
|
|||||||
char LineBuffer[100];
|
char LineBuffer[100];
|
||||||
uint16_t BytesWritten;
|
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());
|
Day, Month, Year, Hour, Minute, Second, Temperature_GetTemperature());
|
||||||
|
|
||||||
f_write(&TempLogFile, LineBuffer, BytesWritten, &BytesWritten);
|
f_write(&TempLogFile, LineBuffer, BytesWritten, &BytesWritten);
|
||||||
|
@ -133,7 +133,6 @@ include $(LUFA_PATH)/LUFA/makefile
|
|||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
SRC = $(TARGET).c \
|
SRC = $(TARGET).c \
|
||||||
Descriptors.c \
|
|
||||||
Descriptors.c \
|
Descriptors.c \
|
||||||
Lib/DataflashManager.c \
|
Lib/DataflashManager.c \
|
||||||
Lib/SCSI.c \
|
Lib/SCSI.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user