diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-20 11:21:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-20 11:21:36 +0000 |
commit | 37b2130fb2767a39f3d95414c6aca75a67c26298 (patch) | |
tree | 0288d41e710e3142696765cb76288357439c296b /Demos/Device/MassStorage/MassStorage.c | |
parent | 619b0b7b6b44e4422ea9aeb0cde41343bb5dda70 (diff) | |
download | lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.gz lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.bz2 lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.zip |
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
Diffstat (limited to 'Demos/Device/MassStorage/MassStorage.c')
-rw-r--r-- | Demos/Device/MassStorage/MassStorage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/MassStorage/MassStorage.c b/Demos/Device/MassStorage/MassStorage.c index 48ce5f34d..7ddb8f05a 100644 --- a/Demos/Device/MassStorage/MassStorage.c +++ b/Demos/Device/MassStorage/MassStorage.c @@ -40,7 +40,7 @@ /* Scheduler Task List */
TASK_LIST
{
- { Task: USB_MassStorage , TaskStatus: TASK_STOP },
+ { .Task = USB_MassStorage , .TaskStatus = TASK_STOP },
};
/* Global Variables */
@@ -48,7 +48,7 @@ TASK_LIST CommandBlockWrapper_t CommandBlock;
/** Structure to hold the latest Command Status Wrapper to return to the host, containing the status of the last issued command. */
-CommandStatusWrapper_t CommandStatus = { Signature: CSW_SIGNATURE };
+CommandStatusWrapper_t CommandStatus = { .Signature = CSW_SIGNATURE };
/** Flag to asynchronously abort any in-progress data transfers upon the reception of a mass storage reset command. */
volatile bool IsMassStoreReset = false;
|