Commit 2a4950ae28f13d711de99936e9a35263ad2ce6d8
authorMichel Pollet <buserror@gmail.com>
Fri, 24 Jul 2015 15:25:11 +0000 (16:25 +0100)
committerMichel Pollet <buserror@gmail.com>
Fri, 24 Jul 2015 15:25:11 +0000 (16:25 +0100)
treeafd3b47ea5b94444934cab7e9add08b800962041
parent8e781cf8f3e09abf7b9a554e4de170e68bdf175b
Message:
ADC: Skip SRB register if not present

the mega8/16/32 don't have ADCSRB, this lead to a crash when we tried to
register a callback on it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_adc.c