Change clock crystal to 18.432 MHz

This commit is contained in:
BlackMark 2020-04-10 10:06:11 +02:00
parent cf60d846b6
commit ef42a67d10
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#pragma once #pragma once
#define F_CPU 16000000 #define F_CPU 18'432'000
#include <util/delay.h> #include <util/delay.h>

View File

@ -1,4 +1,4 @@
#pragma once #pragma once
#define F_CPU 16000000 #define F_CPU 18'432'000
#include <util/delay.h> #include <util/delay.h>

View File

@ -12,7 +12,7 @@ constexpr auto REQUEST_CMD = '?';
constexpr auto CONFIRM_CMD = '!'; constexpr auto CONFIRM_CMD = '!';
constexpr auto AUTO_BAUDING_CMD = '@'; constexpr auto AUTO_BAUDING_CMD = '@';
using uart_interface = uart::Hardware0<uart::Config<38400>, uart::Driven::BLOCKING>; using uart_interface = uart::Hardware0<uart::Config<115200>, uart::Driven::BLOCKING>;
enum class State { enum class State {
WAITING, WAITING,