Merge pull request #280 from OpenEtherCATsociety/fix/soemlib_undef_ec_ver1

Fix to enable building the SOEM library VER 2 with -werror
pull/284/head
ArthurKetels 2019-04-12 10:40:27 +02:00 committed by GitHub
commit ab89d557d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,8 @@ static int ecx_config_from_table(ecx_contextt *context, uint16 slave)
#else
static int ecx_config_from_table(ecx_contextt *context, uint16 slave)
{
(void)context;
(void)slave;
return 0;
}
#endif