little changes to let the firmware build on contemporary avr toolchain. yours, _john