Add indent configuration and apply indent.

master
Bertrik Sikken 2019-07-14 13:53:08 +02:00
rodzic b809f7f13e
commit d886e14280
2 zmienionych plików z 251 dodań i 250 usunięć

2
.indent.pro vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
-kr -nut -l100

Wyświetl plik

@ -78,8 +78,7 @@ void setup()
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0xDC
};
uint8_t ecoMode[] =
{ 0xB5, 0x62, 0x06, 0x11, 0x02, 0x00, 0x00, 0x04, 0x1D, 0x85 };
uint8_t ecoMode[] = { 0xB5, 0x62, 0x06, 0x11, 0x02, 0x00, 0x00, 0x04, 0x1D, 0x85 };
while (!gps_set_sucess) {
sendUBX(setNav, sizeof(setNav) / sizeof(uint8_t));
@ -158,8 +157,7 @@ void loop()
cBusy = true;
sprintf(datastring, "$$$$%s,%li,%02i:%02i:%02i,%s,%s,%s,%i,%s",
callsign, ticks, hour, minute, second, latbuf, lonbuf, altbuf,
sats, voltage);
callsign, ticks, hour, minute, second, latbuf, lonbuf, altbuf, sats, voltage);
unsigned int CHECKSUM = gps_CRC16_checksum(datastring); // Calculates the checksum for this datastring
char checksum_str[7];
sprintf(checksum_str, "*%04X\n", CHECKSUM);
@ -378,3 +376,4 @@ boolean getUBX_ACK(uint8_t * MSG)
}
}
}