Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0055aed

Browse files
authored
Fix size of rssi in toString() (espressif#12058)
1 parent228acb8 commit0055aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/BLE/src/BLEAdvertisedDevice.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ String BLEAdvertisedDevice::toString() {
605605
res += val;
606606
}
607607
if (haveRSSI()) {
608-
char val[4];
608+
char val[5];
609609
snprintf(val,sizeof(val),"%i",getRSSI());
610610
res +=", rssi:";
611611
res += val;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp