Check navdata_connect return code
Merge pull request #9 from AnAkIn1/master

Check navdata_connect return code