From a6a752a14017e79745550b8561e79491b9ca1f74 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 29 Oct 2023 14:13:38 -0600 Subject: fixed delay timing on attiny1616 (it was about 17% too long this whole time) (and re-adjusted smooth step timing accordingly) --- tk-attiny.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tk-attiny.h') diff --git a/tk-attiny.h b/tk-attiny.h index ad2ed3b..9532ed5 100644 --- a/tk-attiny.h +++ b/tk-attiny.h @@ -58,7 +58,7 @@ #elif (ATTINY == 412) || (ATTINY == 416) || (ATTINY == 417) || (ATTINY == 816) || (ATTINY == 817) || (ATTINY == 1616) || (ATTINY == 1617) || (ATTINY == 3216) || (ATTINY == 3217) #define AVRXMEGA3 #define F_CPU 10000000UL - #define BOGOMIPS (F_CPU/4000) + #define BOGOMIPS (F_CPU/4700) #define EEPSIZE 128 #define DELAY_ZERO_TIME 1020 #else -- cgit v1.2.3