summaryrefslogtreecommitdiff
path: root/docs/feature_os_detection.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_os_detection.md')
-rw-r--r--docs/feature_os_detection.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/feature_os_detection.md b/docs/feature_os_detection.md
index f32e419807..907638bcfa 100644
--- a/docs/feature_os_detection.md
+++ b/docs/feature_os_detection.md
@@ -36,10 +36,15 @@ This time is quite short, probably hundreds of milliseconds, but this data may b
If OS is guessed incorrectly, you may want to collect data about USB setup packets to refine the detection logic.
-To do so in your `rules.mk` add:
+To do so in your `config.h` add:
+
+```c
+#define OS_DETECTION_DEBUG_ENABLE
+```
+
+And in your `rules.mk` add:
```make
-OS_DETECTION_DEBUG_ENABLE = yes
CONSOLE_ENABLE = yes
```