clang format

input_events
NepEgor 3 years ago
parent b5ab8e525b
commit 6403ac5ac5

@ -0,0 +1,29 @@
UseTab: false
IndentWidth: 4
#AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: true
ColumnLimit: 0
PointerAlignment: Left
#AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
#AlignConsecutiveDeclarations: AcrossEmptyLinesAndComments
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignAfterOpenBracket: true
BreakBeforeBraces: Custom
SortIncludes: false
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false

@ -278,7 +278,6 @@ static uint8_t USBD_HID_DataIn(USBD_HandleTypeDef *pdev, uint8_t epnum)
return USBD_OK;
}
static uint8_t* USBD_HID_GetDeviceQualifierDesc(uint16_t* length)
{
*length = sizeof(USBD_HID_DeviceQualifierDesc);

Loading…
Cancel
Save