Migrate some common features to generic (#22403)

This commit is contained in:
Joel Challis 2023-11-09 02:01:44 +00:00 committed by GitHub
parent 4e577cbbea
commit 147865cf57
Failed to generate hash of commit
9 changed files with 36 additions and 72 deletions

View file

@ -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
```