parent
15576819d2
commit
0be3801226
|
@ -18,6 +18,11 @@
|
|||
#include "pin_repository.h"
|
||||
#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
|
||||
|
||||
class TsChannelBase {
|
||||
|
|
|
@ -38,11 +38,6 @@ size_t SerialTsChannel::readTimeout(uint8_t* buffer, size_t size, int timeout) {
|
|||
|
||||
#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) {
|
||||
m_config = {
|
||||
.txend1_cb = NULL,
|
||||
|
|
Loading…
Reference in New Issue