This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mistake in SDK header

In nRF5_SDK_12.1.0_0d23e2a in file: ...\components\softdevice\common\softdevice_handler\ant_stack_handler_types.h In lines 30-32 inside #ifdef ANT_STACK_SUPPORT_REQD is preprocessor conditional witch extern 'C' and parenthesis. But the same closing conditional is not placed inside #ifdef ANT_STACK_SUPPORT_REQD. So if ANT_STACK_SUPPORT_REQD is not defined, there is a parenthesis problem during compilation.

Related