Clarify placement of configuration options (#15015)

Co-authored-by: filterpaper <filterpaper@localhost>
This commit is contained in:
Albert Y 2021-11-02 14:19:01 +08:00 committed by GitHub
parent 72f94daae1
commit 2761b17b98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,6 +146,11 @@ void oled_task_user(void) {
## Basic Configuration ## Basic Configuration
These configuration options should be placed in `config.h`. Example:
```c
#define OLED_BRIGHTNESS 128
```
|Define |Default |Description | |Define |Default |Description |
|---------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------| |---------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------|
|`OLED_DISPLAY_ADDRESS` |`0x3C` |The i2c address of the OLED Display | |`OLED_DISPLAY_ADDRESS` |`0x3C` |The i2c address of the OLED Display |