Rev 211 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 211 | Rev 266 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | public int AngleNick = -1; |
62 | public int AngleNick = -1; |
63 | public int AngleRoll = -1; |
63 | public int AngleRoll = -1; |
64 | public int SenderOkay = -1; |
64 | public int SenderOkay = -1; |
65 | public int MKFlags= -1; |
65 | public int MKFlags= -1; |
66 | public int NCFlags= -1; |
66 | public int NCFlags= -1; |
67 | public int ErrorCode= -1; |
67 | public int ErrorCode= 0; |
Line 68... | Line 68... | ||
68 | 68 | ||
69 | 69 | ||
Line 231... | Line 231... | ||
231 | case GPS_FORMAT_DECIMAL: |
231 | case GPS_FORMAT_DECIMAL: |
232 | return "" + val/10000000 + "." +val%10000000 ; |
232 | return "" + val/10000000 + "." +val%10000000 ; |
233 | case GPS_FORMAT_MINSEC: |
233 | case GPS_FORMAT_MINSEC: |
234 | return "" + val/10000000 + "^" + ((val%10000000)*60)/10000000 + "'" + ((((val%10000000)*60)%10000000)*60)/10000000 + "." + ((((val%10000000)*60)%10000000)*60)%10000000; |
234 | return "" + val/10000000 + "^" + ((val%10000000)*60)/10000000 + "'" + ((((val%10000000)*60)%10000000)*60)/10000000 + "." + ((((val%10000000)*60)%10000000)*60)%10000000; |
235 | default: |
235 | default: |
236 | return "invalid format"; |
236 | return "invalid format" + act_gps_format; |
237 | } |
237 | } |
238 | } |
238 | } |
Line 395... | Line 395... | ||
395 | SenderOkay = in_arr[65]; |
395 | SenderOkay = in_arr[65]; |
Line 396... | Line 396... | ||
396 | 396 | ||
397 | MKFlags=in_arr[66]; |
397 | MKFlags=in_arr[66]; |
Line 398... | Line 398... | ||
398 | NCFlags=in_arr[67]; |
398 | NCFlags=in_arr[67]; |
Line 399... | Line 399... | ||
399 | 399 |