Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion megaavr/cores/megatinycore/timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
#define TIME_TRACKING_TIMER_PERIOD (0xFFFF)
#define TIME_TRACKING_TIMER_DIVIDER (32)
#define MILLIS_INC (64000)
#define _RTC_PRESCALE_VALUE (0x05)
#define _RTC_PRESCALE_VALUE (0x28) //change from 0x05 to set prescaler to divide by 32, prescaler field is shifted by three bits. Alows millis()/delay() to run at correct speed.
#else
#error "Millis timer not specified, nor is millis disabled - can't happen!"
#endif
Expand Down