Browse Source

clang-format without silly alignment

master
Alex Mikhalev 6 years ago
parent
commit
6965f03068
  1. 4
      .clang-format
  2. 2
      main/u8g2_esp32_hal.c
  3. 4
      main/ugv_io_gps.cc

4
.clang-format

@ -3,8 +3,8 @@ Language: Cpp @@ -3,8 +3,8 @@ Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true

2
main/u8g2_esp32_hal.c

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
#include <string.h>
#include "esp_log.h"
#include "sdkconfig.h"
#include "i2c_mutex.h"
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

4
main/ugv_io_gps.cc

@ -167,8 +167,8 @@ void UART_GPS::ProcessLine(const char *line, size_t len) { @@ -167,8 +167,8 @@ void UART_GPS::ProcessLine(const char *line, size_t len) {
data_.pdop = minmea_tofloat(&gsa.pdop);
data_.hdop = minmea_tofloat(&gsa.hdop);
data_.vdop = minmea_tofloat(&gsa.vdop);
ESP_LOGV(TAG, "GSA: pdop=%f, hdop=%f, vdop=%f",
data_.pdop, data_.hdop, data_.vdop);
ESP_LOGV(TAG, "GSA: pdop=%f, hdop=%f, vdop=%f", data_.pdop, data_.hdop,
data_.vdop);
xSemaphoreGive(mutex_);
break;
}

Loading…
Cancel
Save