Hands-On GPS Firmware Development
Status macro
Login To Post Your Comment
2 comments
teo
10 months agoThey were the same.Anyway,I managed to solve the problem by simply replacing the macro with a simple function like this: gps_nmea_status_t return_status(gps_data_t* gps_data,gps_nmea_status_t st)
{
gps_data->status = st;
return st;
}