chiark / gitweb /
clunk.git
6 years agoMake the boundary between ADVANCE and STOP variable at compile time.
Ben Harris [Sat, 3 Nov 2018 23:06:07 +0000 (23:06 +0000)]
Make the boundary between ADVANCE and STOP variable at compile time.

6 years agoAdd an option to specify the current displayed time at startup.
Ben Harris [Sat, 3 Nov 2018 22:25:48 +0000 (22:25 +0000)]
Add an option to specify the current displayed time at startup.

6 years agoStart keeping track of what time we think the clock is displaying.
Ben Harris [Sat, 3 Nov 2018 14:25:04 +0000 (14:25 +0000)]
Start keeping track of what time we think the clock is displaying.

6 years agoCall tzset() explicitly at startup.
Ben Harris [Sat, 3 Nov 2018 11:57:55 +0000 (11:57 +0000)]
Call tzset() explicitly at startup.

It's required in portable code before invoking localtime_r().

6 years agoMake the "pulse" have non-zero width.
Ben Harris [Sat, 3 Nov 2018 11:56:58 +0000 (11:56 +0000)]
Make the "pulse" have non-zero width.

Since I think most impulse clocks advance on the trailing edge of the
pulse, this requires subtracting the pulse width from the wake-up
time.

6 years agoMinimal beginnings of an impulse clock driver.
Ben Harris [Sat, 3 Nov 2018 11:44:05 +0000 (11:44 +0000)]
Minimal beginnings of an impulse clock driver.

Currently says "tick!" every 30 seconds.