summaryrefslogtreecommitdiff
path: root/docs/serial_driver.md
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2020-11-29 10:28:03 -0600
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-11-30 03:29:35 -0800
commit990d5189d19341cb768ea39a5510f381f1522e20 (patch)
tree96ffd6f96405484b44f856b24ded5866217875ef /docs/serial_driver.md
parent485e4524f47f15d9581c1cd2619bbcd321380f68 (diff)
Configurable serial usart timeout (#11057)
Diffstat (limited to 'docs/serial_driver.md')
-rw-r--r--docs/serial_driver.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/serial_driver.md b/docs/serial_driver.md
index bc376b6ddd..c98f4c1176 100644
--- a/docs/serial_driver.md
+++ b/docs/serial_driver.md
@@ -60,6 +60,7 @@ Configure the hardware via your config.h:
// 5: about 19200 baud
#define SERIAL_USART_DRIVER SD1 // USART driver of TX pin. default: SD1
#define SERIAL_USART_TX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
+#define SERIAL_USART_TIMEOUT 100 // USART driver timeout. default 100
```
You must also enable the ChibiOS `SERIAL` feature: