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

@@ -33,8 +33,7 @@ Vector acc; // accelerometer data, m/s/s
Quaternion attitude; // estimated attitude
float motors[4]; // normalized motors thrust in range [-1..1]
void setup()
{
void setup() {
Serial.begin(SERIAL_BAUDRATE);
Serial.println("Initializing flix");
setupLED();
@@ -50,8 +49,7 @@ void setup()
Serial.println("Initializing complete");
}
void loop()
{
void loop() {
if (!readIMU()) return;
step();