mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +00:00
Change C++ code style: put curly brace on the same line
This commit is contained in:
+2
-4
@@ -12,8 +12,7 @@
|
||||
float logBuffer[LOG_SIZE][LOG_COLUMNS]; // * 4 (float)
|
||||
int logPointer = 0;
|
||||
|
||||
void logData()
|
||||
{
|
||||
void logData() {
|
||||
if (!armed) return;
|
||||
|
||||
static float logTime = 0;
|
||||
@@ -41,8 +40,7 @@ void logData()
|
||||
}
|
||||
}
|
||||
|
||||
void dumpLog()
|
||||
{
|
||||
void dumpLog() {
|
||||
Serial.printf("t,rates.x,rates.y,rates.z,ratesTarget.x,ratesTarget.y,ratesTarget.z,"
|
||||
"attitude.x,attitude.y,attitude.z,attitudeTarget.x,attitudeTarget.y,attitudeTarget.z,thrustTarget\n");
|
||||
for (int i = 0; i < LOG_SIZE; i++) {
|
||||
|
||||
Reference in New Issue
Block a user