Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
This commit is contained in:
parent
83e293a6ec
commit
6bda628718
271 changed files with 1312 additions and 621 deletions
|
@ -374,7 +374,9 @@ void Bluetooth_HCITask(void)
|
|||
*
|
||||
* \return A value from the USB_Host_SendControlErrorCodes_t enum.
|
||||
*/
|
||||
static uint8_t Bluetooth_SendHCICommand(const BT_HCICommand_Header_t* const HCICommandHeader, const void* Parameters, const uint16_t ParameterLength)
|
||||
static uint8_t Bluetooth_SendHCICommand(const BT_HCICommand_Header_t* const HCICommandHeader,
|
||||
const void* Parameters,
|
||||
const uint16_t ParameterLength)
|
||||
{
|
||||
/* Need to reserve the amount of bytes given in the header for the complete payload */
|
||||
uint8_t CommandBuffer[sizeof(BT_HCICommand_Header_t) + HCICommandHeader->ParameterLength];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue