GPS Logging Code Check and Advice

I will but I need to know if its written correctly