Skip to content

Commit aaf7259

Browse files
author
ga
committed
Plausible, but unconfirmed, fix for Bug #526 - "Watch quartz on Tosc1".
1 parent 8a24b74 commit aaf7259

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simavr/cores/sim_megax8.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ const struct mcu_t SIM_CORENAME = {
313313

314314
.cs = { AVR_IO_REGBIT(TCCR2B, CS20), AVR_IO_REGBIT(TCCR2B, CS21), AVR_IO_REGBIT(TCCR2B, CS22) },
315315
.cs_div = { 0, 0, 3 /* 8 */, 5 /* 32 */, 6 /* 64 */, 7 /* 128 */, 8 /* 256 */, 10 /* 1024 */ },
316+
.ext_clock_pin = AVR_IO_REGBIT(PORTB, 6), /* External clock pin */
316317

317318
.r_tcnt = TCNT2,
318319

0 commit comments

Comments
 (0)