Hi i am working on mangOH red since im new to this i want to collect the gps fix time but when i do mkapp -t wp76xx gpsComp.adef im facing this error(undefined reference to `le_gnss_GetTtff’).
This is how my .c file looks like:
#include “legato.h”
#include “le_gnss_common.h”
#include “le_gnss_interface.h”
COMPONENT_INIT
{
uint32_t ttff = 0;
int result = le_gnss_GetTtff(&ttff);
LE_INFO("TTFF start =%d msec", ttff);
}
And this is my .adef file
executables:
{
my_gps = (gpsComp)
}
processes:
{
run:
{
(my_gps)
}
}