gpio.cpp: Add backticks around gpio command docs

This commit is contained in:
Hamish Willee
2021-06-03 18:37:11 +10:00
committed by Beat Küng
parent 3e9b295c22
commit 00cc1323ea
+2 -1
View File
@@ -299,9 +299,10 @@ void usage(const char *reason)
R"DESCR_STR(
### Description
This command is used to read and write GPIOs
```
gpio read <PORT><PIN>/<DEVICE> [PULLDOWN|PULLUP] [--force]
gpio write <PORT><PIN>/<DEVICE> <VALUE> [PUSHPULL|OPENDRAIN] [--force]
```
### Examples
Read the value on port H pin 4 configured as pullup, and it is high