Skip to content

Commit

Permalink
Merge #19893
Browse files Browse the repository at this point in the history
19893: pkg/tinyusb: add missing include r=gschorcht a=Enoch247

### Contribution description

The macro `AUTO_INIT_PRIO_MOD_TINYUSB` was being used, but not defined. This patch includes the header where `AUTO_INIT_PRIO_MOD_TINYUSB` is defined to fix the compiler error.


### Testing procedure

Run any build with `auto_init` and `stdio_tinyusb_cdc_acm` modules active and see that build fails without patch and succeeds with the patch.


### Issues/PRs references

- none known


Co-authored-by: Joshua DeWeese <jdeweese@primecontrols.com>
  • Loading branch information
bors[bot] and Enoch247 committed Aug 21, 2023
2 parents f30f7b7 + e92f9fc commit 09c8496
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tinyusb/contrib/tinyusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#if IS_USED(MODULE_AUTO_INIT)
#include "auto_init_utils.h"
#include "auto_init_priorities.h"
#endif

#define ENABLE_DEBUG 0
Expand Down

0 comments on commit 09c8496

Please sign in to comment.