diff options
author | root <root@no.no.james.local> | 2019-02-26 15:38:49 +0000 |
---|---|---|
committer | root <root@no.no.james.local> | 2019-02-26 15:38:49 +0000 |
commit | 9ada072d5337a582e987ed57dc4816189208dea7 (patch) | |
tree | 657295fefd5ec9ec153f92ba77bd46d82b0977f8 /main.c | |
parent | 89aa56f25116fc642928f352c14fe2d485532749 (diff) | |
download | gen_msf-9ada072d5337a582e987ed57dc4816189208dea7.tar.gz gen_msf-9ada072d5337a582e987ed57dc4816189208dea7.tar.bz2 gen_msf-9ada072d5337a582e987ed57dc4816189208dea7.zip |
fix bcd encoder
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,13 +16,17 @@ int main (int argc, char *argv[]) audio_init(); + audio_start(); sync_to_minute (&tv); + // sync_to_second (&tv); e.s = tv.tv_sec; e.ns = tv.tv_usec * 1000; + e.s -= 3600; + for (;;) { e.s += 60; u = time_epoch_to_utc (e); |