X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=ftdi_eeprom%2Fmain.c;h=44e29ca5fc928c3e650e51c1e30bacb39b970fa6;hp=d1c4794c94eddec27c8324e883beaea0edebdd6f;hb=864bb3b99768f95ef6a01d347c26a096864cc7ac;hpb=23d7ac2beac7a4f903c25fd662c3ea59dca1898b diff --git a/ftdi_eeprom/main.c b/ftdi_eeprom/main.c index d1c4794..44e29ca 100644 --- a/ftdi_eeprom/main.c +++ b/ftdi_eeprom/main.c @@ -4,6 +4,7 @@ begin : Mon Apr 7 12:05:22 CEST 2003 copyright : (C) 2003-2014 by Intra2net AG and the libftdi developers email : opensource@intra2net.com + SPDX-License-Identifier: GPL-2.0-only ***************************************************************************/ /*************************************************************************** @@ -65,6 +66,27 @@ static int parse_cbus(cfg_t *cfg, cfg_opt_t *opt, const char *value, void *resul return -1; } +static int parse_group0_drive(cfg_t *cfg, cfg_opt_t *opt, const char *value, void *result) +{ + static const char* options[] = + { + "4MA", "8MA", "12MA", "16MA" + }; + + int i; + for (i=0; itype == TYPE_230X) {