From: Thomas Jarosch Date: Thu, 24 Oct 2013 12:30:07 +0000 (+0200) Subject: Automatic reformatting with astyle (to match existing code style) X-Git-Tag: v1.1rc1~12 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=048eb722b34cb824009db072a0fff9ecd9c84da9 reformatting with astyle (to match existing code style) --- diff --git a/ftdi_eeprom/main.c b/ftdi_eeprom/main.c index 5e28034..c7db6e8 100644 --- a/ftdi_eeprom/main.c +++ b/ftdi_eeprom/main.c @@ -43,16 +43,20 @@ static int str_to_cbus(char *str, int max_allowed) { - #define MAX_OPTION 14 - const char* options[MAX_OPTION] = { - "TXDEN", "PWREN", "RXLED", "TXLED", "TXRXLED", "SLEEP", - "CLK48", "CLK24", "CLK12", "CLK6", - "IO_MODE", "BITBANG_WR", "BITBANG_RD", "SPECIAL"}; +#define MAX_OPTION 14 + const char* options[MAX_OPTION] = + { + "TXDEN", "PWREN", "RXLED", "TXLED", "TXRXLED", "SLEEP", + "CLK48", "CLK24", "CLK12", "CLK6", + "IO_MODE", "BITBANG_WR", "BITBANG_RD", "SPECIAL" + }; int i; max_allowed += 1; if (max_allowed > MAX_OPTION) max_allowed = MAX_OPTION; - for (i=0; i