On 12.11.2010 13:44, Joerg Mayer wrote:
> On Fri, Nov 12, 2010 at 12:52:14PM +0100, Carl-Daniel Hailfinger wrote:
>
> #if (defined TYPE_2232H and defined TYPE_4232H)
>   
>>> +   if (ftdic->type != TYPE_2232H && ftdic->type != TYPE_4232H) {
>>> +           msg_pdbg("FTDI chip type %d is not high-speed\n",
>>> +                   ftdic->type);
>>> +           clock_5x = 0;
>>> +   }
>>>       
> #endif
>   

That doesn't work because TYPE_2232H is an enum.


>> TYPE_2232H and TYPE_4232H are not defined before libftdi 0.16.
>>
>> Do you have any idea how to work around this except requiring a newer
>> libftdi?
>>     
>
> You'll just need to figure out the correct syntax :-)
>   

Any other ideas?

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to