Skip to content

Commit

Permalink
fix: CI spell check
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM committed Oct 26, 2022
1 parent 1c8974d commit 8f40c2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/local/BLELocalDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ int BLELocalDevice::begin()
end();
return 0;
}

randomNumber[5] |= 0xC0; // Force both MSB bit to b00 in order to define Random Address
/* Random address only requires 6 bytes (48 bits)
* Force both MSB bits to b00 in order to define Static Random Address
*/
randomNumber[5] |= 0xC0;
if (HCI.leSetRandomAddress((uint8_t*)randomNumber) != 0) {
end();
return 0;
Expand Down
4 changes: 2 additions & 2 deletions src/utility/STM32Cube_FW/shci.h
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ extern "C" {
* - bit 2: 1: device name Read-Only 0: device name R/W
* - bit 3: 1: extended advertizing supported 0: extended advertizing not supported
* - bit 4: 1: CS Algo #2 supported 0: CS Algo #2 not supported
* - bit 7: 1: LE Power Class 1 0: LE Power Classe 2-3
* - bit 7: 1: LE Power Class 1 0: LE Power Classes 2-3
* - other bits: reserved ( shall be set to 0)
*/
uint8_t Options;
Expand Down Expand Up @@ -1173,7 +1173,7 @@ typedef struct {

/**
* SHCI_GetWirelessFwInfo
* @brief This function read back the informations relative to the wireless binary loaded.
* @brief This function read back the information relative to the wireless binary loaded.
* Refer yourself to MB_WirelessFwInfoTable_t structure to get the significance
* of the different parameters returned.
* @param pWirelessInfo : Pointer to WirelessFwInfo_t.
Expand Down

0 comments on commit 8f40c2f

Please sign in to comment.