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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user