Skip to content

Commit 25dc20e

Browse files
committed
Make sure files are added before the commit
1 parent 32f7ce6 commit 25dc20e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

TARS/src/mcu_main/telemetry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Telemetry;
2323
extern Telemetry tlm;
2424

2525
struct TelemetryDataLite {
26-
systime_t timestamp; //[0, 2^32]
26+
systime_t timestamp; //[0, 2^32]
2727

2828
uint16_t barometer_pressure; //[0, 4096]
2929
int16_t highG_ax; //[128, -128]
@@ -33,7 +33,7 @@ struct TelemetryDataLite {
3333
int16_t bno_pitch; //[-4,4]
3434
int16_t bno_yaw; //[-4,4]
3535

36-
float flap_extension; //[0, 256]
36+
float flap_extension; //[0, 256]
3737
};
3838

3939
struct TelemetryPacket {

TARS/src/mcu_telemetry/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
(https://www.sparkfun.com/products/14425) Open the serial monitor at 115200 baud to see the output
1414
*/
1515

16-
#include <Wire.h> //Needed for I2C to GNSS
16+
#include <Wire.h> //Needed for I2C to GNSS
1717

1818
#include <SparkFun_u-blox_GNSS_v3.h> //http://librarymanager/All#SparkFun_u-blox_GNSS_v3
1919

20-
SFE_UBLOX_GNSS myGNSS; // SFE_UBLOX_GNSS uses I2C. For Serial or SPI, see Example2 and Example3
20+
SFE_UBLOX_GNSS myGNSS; // SFE_UBLOX_GNSS uses I2C. For Serial or SPI, see Example2 and Example3
2121

2222
void setup() {
2323
Serial.begin(115200);

tools/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh
22
python run_clang_format.py -r -i TARS
3+
git add .
34
exit 0

0 commit comments

Comments
 (0)