From: Davide Michelizza Date: Wed, 23 Oct 2013 14:01:55 +0000 (+0200) Subject: Fix FT232H eeprom suspend pulldown setting X-Git-Tag: v1.1rc1~14 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=a7e053532fb66aabe0d232cb335be4746cc052b3 Fix FT232H eeprom suspend pulldown setting --- diff --git a/src/ftdi.c b/src/ftdi.c index 26b1707..90dfae5 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3015,6 +3015,12 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi) output[0x01] |= POWER_SAVE_DISABLE_H; else output[0x01] &= ~POWER_SAVE_DISABLE_H; + + if (eeprom->suspend_pull_downs) + output[0x0a] |= 0x4; + else + output[0x0a] &= ~0x4; + if (eeprom->clock_polarity) output[0x01] |= FT1284_CLK_IDLE_STATE; else