-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/tinyusb: provide common tusb_config.h
- Loading branch information
Showing
4 changed files
with
21 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,13 @@ | |
* @author Gunar Schorcht <[email protected]> | ||
*/ | ||
|
||
#ifndef TINYUSB_CONFIG_H | ||
#define TINYUSB_CONFIG_H | ||
#ifndef TUSB_CONFIG_H | ||
#define TUSB_CONFIG_H | ||
|
||
#include "tusb_config.h" /* defined by the application */ | ||
/* defined by the application */ | ||
#if __has_include("tinyusb_app_config.h") | ||
#include "tinyusb_app_config.h" | ||
#endif | ||
#include "tinyusb.h" | ||
|
||
#if !DOXYGEN | ||
|
@@ -298,5 +301,5 @@ extern "C" { | |
#endif | ||
|
||
#endif /* !DOXYGEN */ | ||
#endif /* TINYUSB_CONFIG_H */ | ||
#endif /* TUSB_CONFIG_H */ | ||
/** @} */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.