Page 1 of 1
SDCConfig struct member bus_width
Posted: Fri Apr 17, 2015 2:56 pm
by shinelikerain
Now the element "bus_width" has been added to the SDCConfig structure, is it no longer possible to pass NULL to sdcStart() as then the function sdcConnect() will fail when you come to test in xxx_set_bus_width() for SDC_MODE_xBIT??
Or have I missed something?
Re: SDCConfig struct member bus_width
Posted: Sun Apr 19, 2015 9:20 am
by Giovanni
Hi,
Correct, you have to pass a configuration structure.
Giovanni
Re: SDCConfig struct member bus_width
Posted: Mon Apr 20, 2015 10:34 am
by shinelikerain
Thank you Giovanni,
In that case shouldn't there be a :-
osalDbgCheck(config != NULL) in sdcStart() ?
Re: SDCConfig struct member bus_width
Posted: Mon Apr 20, 2015 10:57 am
by Giovanni
I made a change, now sddStart() accepts a NULL configuration again and uses an internal configuration in that case.
Giovanni
Re: SDCConfig struct member bus_width
Posted: Mon Apr 20, 2015 11:01 am
by shinelikerain
Thank you Giovanni for all your work
