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?
SDCConfig struct member bus_width
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: SDCConfig struct member bus_width
Hi,
Correct, you have to pass a configuration structure.
Giovanni
Correct, you have to pass a configuration structure.
Giovanni
-
shinelikerain
- Posts: 15
- Joined: Mon Nov 25, 2013 11:10 am
Re: SDCConfig struct member bus_width
Thank you Giovanni,
In that case shouldn't there be a :-
osalDbgCheck(config != NULL) in sdcStart() ?
In that case shouldn't there be a :-
osalDbgCheck(config != NULL) in sdcStart() ?
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: SDCConfig struct member bus_width
I made a change, now sddStart() accepts a NULL configuration again and uses an internal configuration in that case.
Giovanni
Giovanni
-
shinelikerain
- Posts: 15
- Joined: Mon Nov 25, 2013 11:10 am