From 048eb722b34cb824009db072a0fff9ecd9c84da9 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 24 Oct 2013 14:30:07 +0200 Subject: [PATCH] Automatic reformatting with astyle (to match existing code style) --- ftdi_eeprom/main.c | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) 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