Przeglądaj źródła

Clarify placement of configuration options (#15015)

Co-authored-by: filterpaper <filterpaper@localhost>
Albert Y 3 lat temu
rodzic
commit
2761b17b98
1 zmienionych plików z 5 dodań i 0 usunięć
  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                                                                                       |