Skip to content

Conversation

@FintasticMan
Copy link
Member

Applies clang-format to all src files except those in src/libs dir.

@FintasticMan FintasticMan force-pushed the apply_clang_format branch from 260654e to e960830 Compare May 9, 2022 15:17
@Riksu9000 Riksu9000 added this to the 1.10.0 milestone May 9, 2022
@JF002
Copy link
Collaborator

JF002 commented May 23, 2022

@Avamander Do you approve the changes applied since your last review?


void HeartRateService::SubscribeNotification(uint16_t connectionHandle, uint16_t attributeHandle) {
if(attributeHandle == heartRateMeasurementHandle)
if (attributeHandle == heartRateMeasurementHandle)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably add braces to these at some point, but this can be done in a separate PR at some later point

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once clang-format 15 is out, that can be done automatically with the InsertBraces option.

@Avamander
Copy link
Collaborator

@JF002 Yep, seems good.

@Riksu9000 Riksu9000 merged commit 7f45538 into InfiniTimeOrg:develop Jun 5, 2022
@FintasticMan FintasticMan deleted the apply_clang_format branch June 5, 2022 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants