Commit cbcfc90881bdfd517095b49d246da6c21ae04460
authorMichel Pollet <buserror@gmail.com>
Mon, 7 Nov 2016 08:31:40 +0000 (08:31 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 7 Nov 2016 08:31:40 +0000 (08:31 +0000)
tree41bc900be6e95c4f45e4584aba988a2cec6e5730
parentc7549b195ea3be209a8aa826b0f65085b7fdd95e
Message:
cores: fix for 1284p timer block

This is the 'approved' way to deal with optional peripherals. Check the
name, or check a register 'address' value for != 0 instead of trying to
use #ifdefs

Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
simavr/cores/sim_megax4.c
simavr/cores/sim_megax4.h