Ver Fonte

Clarify placement of configuration options (#15015)

Co-authored-by: filterpaper <filterpaper@localhost>
Albert Y há 3 anos atrás
pai
commit
2761b17b98
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      docs/feature_oled_driver.md

+ 5 - 0
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                                                                                       |