diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-08 17:46:28 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-08 17:46:28 +0000 |
commit | 269f2a83fff7618567ebc06b89f89eb6043c8fda (patch) | |
tree | d7c2b1e7bd64ab381c957a894ba27f74aa73039e /app/gps.c | |
parent | 70a5c9e1eeeb162049a6678d3f15b99628dcc327 (diff) | |
download | clock-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |