kopia lustrzana https://github.com/bertrik/picoballoon
Add indent configuration and apply indent.
rodzic
b809f7f13e
commit
d886e14280
|
@ -0,0 +1,2 @@
|
|||
-kr -nut -l100
|
||||
|
7
V1_0.ino
7
V1_0.ino
|
@ -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)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue