Change C++ code style: put curly brace on the same line

This commit is contained in:
Oleg Kalachev
2023-12-29 18:56:25 +03:00
parent 645b148564
commit d2296fea76
19 changed files with 65 additions and 130 deletions

View File

@@ -3,8 +3,7 @@
// Time related functions
void step()
{
void step() {
float now = micros() / 1000000.0;
dt = now - t;
t = now;
@@ -16,8 +15,7 @@ void step()
computeLoopFreq();
}
void computeLoopFreq()
{
void computeLoopFreq() {
static float windowStart = 0;
static uint32_t freq = 0;
freq++;