diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-21 00:24:14 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-21 00:24:14 +0000 |
commit | ac7e8b2318a0e118d4cb7ced49d109c40908cb85 (patch) | |
tree | 91d8ec03cb9552a47db467b5c0f9c5bea68b6473 /app/dcf77.c | |
parent | 8c8218f878609af4719252d16ac0f42bccd9ba5b (diff) | |
download | clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.tar.gz clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.tar.bz2 clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.zip |
fix content-type headers, and store a day's worth of weather data
Diffstat (limited to 'app/dcf77.c')
-rw-r--r-- | app/dcf77.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/dcf77.c b/app/dcf77.c index 30cfd26..4b69a69 100644 --- a/app/dcf77.c +++ b/app/dcf77.c @@ -104,6 +104,8 @@ static void process_bits (uint64_t abs, uint64_t ptp) printf ("DCF77: Next minute is: %02d-%02d-%02d %02d:%02d\r\n", u.year, u.month, u.mday, u.hour, u.minute); time_print_epoch ("DCF77: ", e, dcf77_info); + meteotime_save(&u,bits); + dump_bits ("dcf77", bits); } |