|
libftdi Archives
|
| From: | "Michael Plante" <michael.plante@xxxxxxxxx> |
|---|---|
| To: | <libftdi@xxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 16 Sep 2009 01:38:52 -0500 |
Lars,
Could it be these lines?
>> if((newdev = (struct heliosens_usb *)malloc(sizeof(struct ftdi_context)))
== NULL) {
>>
>> // [...]
>>
>> if(ftdi_init(&newdev->ftdic) < 0) {
Unless ftdic is the only member of heliosens_usb, are you sure you allocated
enough memory?
Michael
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|
| Current Thread |
|---|
|