Commit 919dacb22088a134db1058ee4afebf958f620730
authorMichel Pollet <buserror@gmail.com>
Fri, 24 Jul 2015 15:25:11 +0000 (16:25 +0100)
committerMichel Pollet <buserror@gmail.com>
Fri, 2 Oct 2015 06:24:52 +0000 (07:24 +0100)
tree2ee4e6968491e9ae2d285629e5c319738461644a
parentb03078d9a2d8a598c608afff677146bb91925d22
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