Hi everyone,
in my project, in C, I have different drivers for some devices I am using. I have made a recognition of the device that is connected to my logic board. Instead of merging the drivers into a single file and using #ifdef I was wondering if it was possible to put all the drivers in different files and through an API select a driver file I need.
Best regards
in my project, in C, I have different drivers for some devices I am using. I have made a recognition of the device that is connected to my logic board. Instead of merging the drivers into a single file and using #ifdef I was wondering if it was possible to put all the drivers in different files and through an API select a driver file I need.
Best regards