mirror of
https://github.com/okalachev/flix.git
synced 2026-02-18 08:02:36 +00:00
Change C++ code style: put curly brace on the same line
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user