Skip to content

Commit 8f40c2f

Browse files
committed
fix: CI spell check
Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent 1c8974d commit 8f40c2f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: src/local/BLELocalDevice.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ int BLELocalDevice::begin()
5656
end();
5757
return 0;
5858
}
59-
60-
randomNumber[5] |= 0xC0; // Force both MSB bit to b00 in order to define Random Address
59+
/* Random address only requires 6 bytes (48 bits)
60+
* Force both MSB bits to b00 in order to define Static Random Address
61+
*/
62+
randomNumber[5] |= 0xC0;
6163
if (HCI.leSetRandomAddress((uint8_t*)randomNumber) != 0) {
6264
end();
6365
return 0;

Diff for: src/utility/STM32Cube_FW/shci.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ extern "C" {
529529
* - bit 2: 1: device name Read-Only 0: device name R/W
530530
* - bit 3: 1: extended advertizing supported 0: extended advertizing not supported
531531
* - bit 4: 1: CS Algo #2 supported 0: CS Algo #2 not supported
532-
* - bit 7: 1: LE Power Class 1 0: LE Power Classe 2-3
532+
* - bit 7: 1: LE Power Class 1 0: LE Power Classes 2-3
533533
* - other bits: reserved ( shall be set to 0)
534534
*/
535535
uint8_t Options;
@@ -1173,7 +1173,7 @@ typedef struct {
11731173

11741174
/**
11751175
* SHCI_GetWirelessFwInfo
1176-
* @brief This function read back the informations relative to the wireless binary loaded.
1176+
* @brief This function read back the information relative to the wireless binary loaded.
11771177
* Refer yourself to MB_WirelessFwInfoTable_t structure to get the significance
11781178
* of the different parameters returned.
11791179
* @param pWirelessInfo : Pointer to WirelessFwInfo_t.

0 commit comments

Comments
 (0)