fix: spelling error fix (#849)

This commit is contained in:
WantClue
2025-04-16 22:16:00 +02:00
committed by GitHub
parent 9d4bbfde8b
commit 00a301020e
3 changed files with 17 additions and 17 deletions

View File

@@ -73,7 +73,7 @@ int16_t SERIAL_rx(uint8_t *buf, uint16_t size, uint16_t timeout_ms)
{
int16_t bytes_read = uart_read_bytes(UART_NUM_1, buf, size, timeout_ms / portTICK_PERIOD_MS);
#if BM1937_SERIALRX_DEBUG || BM1366_SERIALRX_DEBUG || BM1368_SERIALRX_DEBUG
#if BM1397_SERIALRX_DEBUG || BM1366_SERIALRX_DEBUG || BM1368_SERIALRX_DEBUG
size_t buff_len = 0;
if (bytes_read > 0) {
uart_get_buffered_data_len(UART_NUM_1, &buff_len);