modified oa_gps.c about float