diff --git a/config.mk b/config.mk index 5d4041ca7ff6aa4b7f800b42a58a2ce0e975da3a..6e2af7a71dedbfb17e37710cba59edd36c48bcd8 100644 --- a/config.mk +++ b/config.mk @@ -41,7 +41,7 @@ BUILD_DIR = # Microcontroller: atxmega128a1, atmega128, attiny261, etc. MCU = atxmega256a3u -F_CPU = 32000000 +F_CPU = 48000000 # Programming settings AVRDUDE_DEV = x256a3u diff --git a/src/config/conf_clock.h b/src/config/conf_clock.h index 8f6349c685bc39e54b40ecf122e3ee63da354c92..f53945fd3d01db0b4d3563bd6ce62d8958cb1e1b 100644 --- a/src/config/conf_clock.h +++ b/src/config/conf_clock.h @@ -44,9 +44,9 @@ #define CONF_CLOCK_H_INCLUDED #include "conf_board.h" - +// #if BOARD_VER_MAJOR >= 1 && BOARD_VER_MINOR >= 2 && BOARD_VER_MICRO >= 3 - #define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_RC32MHZ + #define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_PLL #define CONFIG_SYSCLK_PSADIV SYSCLK_PSADIV_1 #define CONFIG_SYSCLK_PSBCDIV SYSCLK_PSBCDIV_1_1