-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move uni_btstack_version_compat to its own file
- Loading branch information
1 parent
05e3b73
commit fb4daae
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/components/bluepad32/include/uni_btstack_version_compat.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// Copyright 2024 Ricardo Quesada | ||
// http://retro.moe/unijoysticle2 | ||
|
||
#ifndef UNI_BTSTACK_VERSION_COMPAT_H | ||
#define UNI_BTSTACK_VERSION_COMPAT_H | ||
|
||
// btstack_version.h was included in v1.6.2 | ||
#if defined __has_include | ||
#if __has_include(<btstack_version.h>) | ||
#include <btstack_version.h> | ||
#else | ||
#define BTSTACK_VERSION_MAJOR 1 | ||
#define BTSTACK_VERSION_MINOR 6 | ||
#define BTSTACK_VERSION_PATCH 1 | ||
#define BTSTACK_VERSION_STRING "1.6.1" | ||
#endif | ||
#endif | ||
|
||
#endif // UNI_BTSTACK_VERSION_COMPAT_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