I want to call a static function from another C file. But it always show "function" used but never defined
.
In ble.c
static void bt_le_start_notification(void)
{
WPRINT_BT_APP_INFO(("bt_le_start_notification\n"));
}
In ble.h
static void bt_le_start_notification(void);
When I try to call bt_le_start_notification
in main.c , it will show "bt_le_start_notification" used but never defined
.
In main.c
#include "ble.h"
void application_start( void )
{
bt_le_start_notification();
}
Did I missing something ? Thanks in advance.