aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/CDC/BootloaderCDC.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-04-20 11:21:36 +0000
committerDean Camera <[email protected]>2009-04-20 11:21:36 +0000
commit37b2130fb2767a39f3d95414c6aca75a67c26298 (patch)
tree0288d41e710e3142696765cb76288357439c296b /Bootloaders/CDC/BootloaderCDC.c
parent619b0b7b6b44e4422ea9aeb0cde41343bb5dda70 (diff)
downloadqmk_firmware-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.gz
qmk_firmware-37b2130fb2767a39f3d95414c6aca75a67c26298.zip
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
Diffstat (limited to 'Bootloaders/CDC/BootloaderCDC.c')
-rw-r--r--Bootloaders/CDC/BootloaderCDC.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c
index cb2672c758..9cdb776954 100644
--- a/Bootloaders/CDC/BootloaderCDC.c
+++ b/Bootloaders/CDC/BootloaderCDC.c
@@ -43,10 +43,10 @@
* current encoding options, including baud rate, character format, parity mode and total number of
* bits in each data chunk.
*/
-CDC_Line_Coding_t LineCoding = { BaudRateBPS: 9600,
- CharFormat: OneStopBit,
- ParityType: Parity_None,
- DataBits: 8 };
+CDC_Line_Coding_t LineCoding = { .BaudRateBPS = 9600,
+ .CharFormat = OneStopBit,
+ .ParityType = Parity_None,
+ .DataBits = 8 };
/** Current address counter. This stores the current address of the FLASH or EEPROM as set by the host,
* and is used when reading or writing to the AVRs memory (either FLASH or EEPROM depending on the issued