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
74ffdac7
Commit
74ffdac7
authored
Jul 09, 2019
by
Krishna Kumar
Committed by
Me No Dev
Jul 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for BLE Library Compile Error #2866 (#2876)
parent
4ee17ec3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libraries/BLE/src/BLEAdvertising.cpp
libraries/BLE/src/BLEAdvertising.cpp
+2
-2
No files found.
libraries/BLE/src/BLEAdvertising.cpp
View file @
74ffdac7
...
...
@@ -262,7 +262,7 @@ void BLEAdvertising::stop() {
void
BLEAdvertising
::
setDeviceAddress
(
esp_bd_addr_t
addr
,
esp_ble_addr_type_t
type
)
{
log_v
(
">> setPrivateAddress"
)
log_v
(
">> setPrivateAddress"
)
;
m_advParams
.
own_addr_type
=
type
;
esp_err_t
errRc
=
esp_ble_gap_set_rand_addr
((
uint8_t
*
)
addr
);
...
...
@@ -271,7 +271,7 @@ void BLEAdvertising::setDeviceAddress(esp_bd_addr_t addr, esp_ble_addr_type_t ty
log_e
(
"esp_ble_gap_set_rand_addr: rc=%d %s"
,
errRc
,
GeneralUtils
::
errorToString
(
errRc
));
return
;
}
log_v
(
"<< setPrivateAddress"
)
log_v
(
"<< setPrivateAddress"
)
;
}
// setPrivateAddress
/**
...
...
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