- Use USE_LDCONFIG
Overall changes:
- Compile with -fpic instead of -fPIC (potentially smaller code size)
- Add a schematics file for the hardware receiver in FidoCadJ format
- Language and typographical updates to README.md
- Several signed/unsigned/size fixes
Library changes:
- Extract generic third-party code for bits 1..14 from decode_alarm.h into a
new file bits1to14.h
- Convert almost all calculations for decoding the live signal into integer
operations, drop fields 'a', 'frac', and 'maxone' from struct bitinfo.
- New function setclock_ok() in setclock.h
- New functions get_acc_minlen(), add_acc_minlen(), reset_acc_minlen() in
decode_time.h. The accumulated minute length is now a first-class entity.
When decoding the live signal, increment it more precisely than just 1000 ms/s
to prevent drift during bad radio reception.
- New functions dcftime() and isotime() in decode_time.h. Use the latter in
setclock.c
- Check input values of etc/config.txt:
- hw.active_high must be 0 or 1
- hw.freq must be even between 10 and 666666
- Reset the values of bit0 and bit20 if the latter becomes smaller than the
former, show this in the log file using a '!'
- Compact the signal buffer, it now stores 8 pulses per byte instead of just 1.
Client changes:
- Make dcf77pi and dcf77pi-analyze more agnostic of the contents of the
third-party contents
- Update display code of dcf77pi and readpin for the updates to the live signal
decoding
- Show in dcf77pi when the value of bit20 underflows
- Update the code to display the signal buffer in readpin
- Fix readpin to properly clean up when receiving a SIGINT