Subversion Repositories Projects

Rev

Rev 1518 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1518 Rev 1525
Line 330... Line 330...
330
        get_key_press(KEY_ALL);
330
        get_key_press(KEY_ALL);
331
        lcd_cls();
331
        lcd_cls();
332
}
332
}
333
void Show_LastPosition(void)
333
void Show_LastPosition(void)
334
{
334
{
-
 
335
  lcd_puts_at(0, 2, strGet(OSD_POS1), 0);
-
 
336
  lcd_puts_at(0, 3, strGet(OSD_POS2), 0);
335
  lcd_puts_at(0, 5, strGet(START_LASTPOS1), 0);
337
  lcd_puts_at(0, 5, strGet(START_LASTPOS1), 0);
336
  uint32_t lon = last5pos[0].Latitude;
338
  uint32_t lon = last5pos[0].Latitude;
337
  write_ndigit_number_u (1, 6, (uint16_t)(lon/10000000), 2, 0);
339
  write_ndigit_number_u (1, 6, (uint16_t)(lon/10000000), 2, 0);
338
  lcd_printp_at (3, 6, PSTR("."), 0);
340
  lcd_printp_at (3, 6, PSTR("."), 0);
339
  write_ndigit_number_u (4, 6, (uint16_t)((lon/1000) % 10000), 4, 1);
341
  write_ndigit_number_u (4, 6, (uint16_t)((lon/1000) % 10000), 4, 1);