Add option to override default USART baud rate in platform settings

This commit is contained in:
Jakub Kramarz committed 2025-05-09 15:53:30 +02:00
1 parent b36b61feb0
commit 9744f8afbb
3 files changed
+10 -1

No files matched your search

+2 -1
View File
@@ -16,8 +16,9 @@
#ifndef __USART_DEFS_H
#define __USART_DEFS_H
//#define USART_BAUD_RATE 9600
#ifndef USART_BAUD_RATE
#define USART_BAUD_RATE 115200
#endif
// BT HC-06 physical layer runs at 128kbps
// so it's possible to gain a little bit by using 230400
// with some risk to overflow its internal buffers: