OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.23k stars 653 forks source link

ecx_init_redundant() parameter if2name should be typed as const char * #802

Open kj4tmp opened 2 months ago

kj4tmp commented 2 months ago

The function signature for ecx_init_redundant is currently

int ecx_init_redundant(ecx_contextt *context, ecx_redportt *redport, const char *ifname, char *if2name);

Shoudn't this instead be

int ecx_init_redundant(ecx_contextt *context, ecx_redportt *redport, const char *ifname, const char *if2name);

?

ArthurKetels commented 2 months ago

Yes. Few will notice though.