parent
15576819d2
commit
0be3801226
|
@ -18,6 +18,11 @@
|
||||||
#include "pin_repository.h"
|
#include "pin_repository.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef USART_CR2_STOP1_BITS
|
||||||
|
// todo: acticulate why exactly does prometheus_469 as for this hack
|
||||||
|
#define USART_CR2_STOP1_BITS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SCRATCH_BUFFER_PREFIX_SIZE 3
|
#define SCRATCH_BUFFER_PREFIX_SIZE 3
|
||||||
|
|
||||||
class TsChannelBase {
|
class TsChannelBase {
|
||||||
|
|
|
@ -38,11 +38,6 @@ size_t SerialTsChannel::readTimeout(uint8_t* buffer, size_t size, int timeout) {
|
||||||
|
|
||||||
#if HAL_USE_UART
|
#if HAL_USE_UART
|
||||||
|
|
||||||
#ifndef USART_CR2_STOP1_BITS
|
|
||||||
// todo: acticulate why exactly does prometheus_469 as for this hack
|
|
||||||
#define USART_CR2_STOP1_BITS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void UartTsChannel::start(uint32_t baud) {
|
void UartTsChannel::start(uint32_t baud) {
|
||||||
m_config = {
|
m_config = {
|
||||||
.txend1_cb = NULL,
|
.txend1_cb = NULL,
|
||||||
|
|
Loading…
Reference in New Issue