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

Segger Embedded Studio fds init build error

Hello everybody,

I try to use fstorage in SDK 14.2.0 S132 with Segger Embedded Studio IDE. I write this;

static ret_code_t fds_init (void)
{
	ret_code_t ret = fds_register(my_fds_evt_handler);
	if (ret != FDS_SUCCESS)
	{
	         return ret;
        }
	ret = fds_init();
	if (ret != FDS_SUCCESS)
	{
		return ret;
	}
		
	return NRF_SUCCESS;		
}

But I got error like this:

static declaration of 'fds_init' follows non-static declaration

Do you have any suggestion?

Related