Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
5548fbe0
Unverified
Commit
5548fbe0
authored
May 31, 2023
by
Rodrigo Garcia
Committed by
GitHub
May 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes ESP32-C3 WiFiProv and btInUse() (#8243)
parent
083db166
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cores/esp32/esp32-hal-bt.c
cores/esp32/esp32-hal-bt.c
+2
-1
cores/esp32/esp32-hal-misc.c
cores/esp32/esp32-hal-misc.c
+2
-3
No files found.
cores/esp32/esp32-hal-bt.c
View file @
5548fbe0
...
...
@@ -16,7 +16,8 @@
#ifdef CONFIG_BT_ENABLED
bool
btInUse
(){
return
true
;
}
// user may want to change it to free resources
__attribute__
((
weak
))
bool
btInUse
(){
return
true
;
}
#include "esp_bt.h"
...
...
cores/esp32/esp32-hal-misc.c
View file @
5548fbe0
...
...
@@ -209,9 +209,8 @@ bool verifyRollbackLater() { return false; }
#endif
#ifdef CONFIG_BT_ENABLED
//overwritten in esp32-hal-bt.c
bool
btInUse
()
__attribute__
((
weak
));
bool
btInUse
(){
return
false
;
}
//from esp32-hal-bt.c
extern
bool
btInUse
();
#endif
void
initArduino
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment