summaryrefslogtreecommitdiffstats
path: root/app/gps.c
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-08 17:46:28 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-08 17:46:28 +0000
commit269f2a83fff7618567ebc06b89f89eb6043c8fda (patch)
treed7c2b1e7bd64ab381c957a894ba27f74aa73039e /app/gps.c
parent70a5c9e1eeeb162049a6678d3f15b99628dcc327 (diff)
downloadclock-269f2a83fff7618567ebc06b89f89eb6043c8fda.tar.gz
clock-269f2a83fff7618567ebc06b89f89eb6043c8fda.tar.bz2
clock-269f2a83fff7618567ebc06b89f89eb6043c8fda.zip
move display code of max7219, tidy makefile
Diffstat (limited to 'app/gps.c')
-rw-r--r--app/gps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/gps.c b/app/gps.c
index 4ddbcab..7ccefd7 100644
--- a/app/gps.c
+++ b/app/gps.c
@@ -214,7 +214,7 @@ ubx_recv_nav_status (uint8_t *ptr, unsigned len)
fix2 = '?';
}
- max7219_report_fix (fix, fix2);
+ display_report_fix (fix, fix2);
// printf ("fix: %c%c happy %d Fix %02x flags %02x fix_stat %02x flags2 %02x \r\n",fix,fix2,gps_happy, gps_fix, flags,fix_stat,flags2);
@@ -232,7 +232,7 @@ ubx_recv_nav_status (uint8_t *ptr, unsigned len)
if (!kick_off_survey_mode) {
printf ("GPS no time fix - kicking off survey mode\n");
ubx_cfg_tmode (1, 0, 0, 0, 0, 3600, 3600); // 1 hour and 6cm
- }
+ }
}
return 0;
@@ -513,7 +513,7 @@ static int ubx_recv_tim_svin (uint8_t *ptr, unsigned len)
printf ("TIM-SVIN dur %u var %u obs %u valid %02x active %02x\r\n",
(unsigned) dur, (unsigned) var, (unsigned) obs, valid, active);
- max7219_report_svin (valid, active);
+ display_report_svin (valid, active);
return 0;
}