Skip to content

Commit 8d61419

Browse files
committed
Fix formatting following the code review.
1 parent e9c7ab4 commit 8d61419

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/drivers/Cst816s.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ bool Cst816S::Init() {
3333
vTaskDelay(5);
3434

3535
static constexpr uint8_t maxRetries = 3;
36-
bool isDeviceOk = false;
36+
bool isDeviceOk;
3737
uint8_t retries = 0;
3838
do {
3939
isDeviceOk = CheckDeviceIds();
4040
retries++;
41-
} while(!isDeviceOk && retries < maxRetries);
41+
} while (!isDeviceOk && retries < maxRetries);
4242

43-
if(!isDeviceOk) {
43+
if (!isDeviceOk) {
4444
return false;
4545
}
4646

0 commit comments

Comments
 (0)