1
0
Fork 0
forked from forks/qmk_firmware

Configurable baud setting

This commit is contained in:
Fred Sundvik 2016-03-12 22:37:04 +02:00
parent d835ad91a3
commit f7275f0ede

View file

@ -50,10 +50,12 @@ host_driver_t serial_driver = {
send_consumer
};
#ifndef SERIAL_LINK_BAUD
#error "Serial link baud is not set"
#endif
// Slow speed for testing
static SerialConfig config = {
.sc_speed = 38400
.sc_speed = SERIAL_LINK_BAUD
};
static uint32_t read_from_serial(SerialDriver* driver, uint8_t link) {