summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-11-02 14:19:01 +0800
committerGitHub <noreply@github.com>2021-11-02 17:19:01 +1100
commit2761b17b9869b60a739da6e793dd10a9af9e0feb (patch)
tree280fa4856cdfbfd97f9d0cd19cf57c2d71aedb40 /docs
parent72f94daae1b75c3b29e76c8124913fc40ef7e7d1 (diff)
Clarify placement of configuration options (#15015)
Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_oled_driver.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/feature_oled_driver.md b/docs/feature_oled_driver.md
index 908bd801c4..6d82aa0f59 100644
--- a/docs/feature_oled_driver.md
+++ b/docs/feature_oled_driver.md
@@ -146,6 +146,11 @@ void oled_task_user(void) {
## Basic Configuration
+These configuration options should be placed in `config.h`. Example:
+```c
+#define OLED_BRIGHTNESS 128
+```
+
|Define |Default |Description |
|---------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------|
|`OLED_DISPLAY_ADDRESS` |`0x3C` |The i2c address of the OLED Display |