Change clock crystal to 18.432 MHz
This commit is contained in:
parent
cf60d846b6
commit
ef42a67d10
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user