Skip to content

Commit 1cfbcc7

Browse files
committed
Cleanup: remove trailing whitespace and ensure final newline
Remove trailing whitespace, and ensure that files end in a newline. No functional changes.
1 parent e6e87fb commit 1cfbcc7

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

variants/t1000-e/T1000eBoard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ void T1000eBoard::begin() {
2020
Wire.begin();
2121

2222
delay(10); // give sx1262 some time to power up
23-
}
23+
}

variants/t1000-e/t1000e_sensors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
// see : https://github.com/Seeed-Studio/Seeed-Tracker-T1000-E-for-LoRaWAN-dev-board
77

88
extern uint32_t t1000e_get_light();
9-
extern float t1000e_get_temperature();
9+
extern float t1000e_get_temperature();

variants/t1000-e/target.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@ static const uint32_t rfswitch_dios[Module::RFSWITCH_MAX_PINS] = {
2626
RADIOLIB_LR11X0_DIO5,
2727
RADIOLIB_LR11X0_DIO6,
2828
RADIOLIB_LR11X0_DIO7,
29-
RADIOLIB_LR11X0_DIO8,
29+
RADIOLIB_LR11X0_DIO8,
3030
RADIOLIB_NC
3131
};
3232

3333
static const Module::RfSwitchMode_t rfswitch_table[] = {
3434
// mode DIO5 DIO6 DIO7 DIO8
35-
{ LR11x0::MODE_STBY, {LOW, LOW, LOW, LOW }},
35+
{ LR11x0::MODE_STBY, {LOW, LOW, LOW, LOW }},
3636
{ LR11x0::MODE_RX, {HIGH, LOW, LOW, HIGH }},
3737
{ LR11x0::MODE_TX, {HIGH, HIGH, LOW, HIGH }},
3838
{ LR11x0::MODE_TX_HP, {LOW, HIGH, LOW, HIGH }},
39-
{ LR11x0::MODE_TX_HF, {LOW, LOW, LOW, LOW }},
39+
{ LR11x0::MODE_TX_HF, {LOW, LOW, LOW, LOW }},
4040
{ LR11x0::MODE_GNSS, {LOW, LOW, HIGH, LOW }},
41-
{ LR11x0::MODE_WIFI, {LOW, LOW, LOW, LOW }},
41+
{ LR11x0::MODE_WIFI, {LOW, LOW, LOW, LOW }},
4242
END_OF_MODE_TABLE,
4343
};
4444
#endif
4545

4646
bool radio_init() {
4747
//rtc_clock.begin(Wire);
48-
48+
4949
#ifdef LR11X0_DIO3_TCXO_VOLTAGE
5050
float tcxo = LR11X0_DIO3_TCXO_VOLTAGE;
5151
#else
@@ -60,7 +60,7 @@ bool radio_init() {
6060
Serial.println(status);
6161
return false; // fail
6262
}
63-
63+
6464
radio.setCRC(2);
6565
radio.explicitHeader();
6666

@@ -97,20 +97,20 @@ mesh::LocalIdentity radio_new_identity() {
9797
void T1000SensorManager::start_gps() {
9898
gps_active = true;
9999
//_nmea->begin();
100-
// this init sequence should be better
100+
// this init sequence should be better
101101
// comes from seeed examples and deals with all gps pins
102102
pinMode(GPS_EN, OUTPUT);
103103
digitalWrite(GPS_EN, HIGH);
104104
delay(10);
105105
pinMode(GPS_VRTC_EN, OUTPUT);
106106
digitalWrite(GPS_VRTC_EN, HIGH);
107107
delay(10);
108-
108+
109109
pinMode(GPS_RESET, OUTPUT);
110110
digitalWrite(GPS_RESET, HIGH);
111111
delay(10);
112112
digitalWrite(GPS_RESET, LOW);
113-
113+
114114
pinMode(GPS_SLEEP_INT, OUTPUT);
115115
digitalWrite(GPS_SLEEP_INT, HIGH);
116116
pinMode(GPS_RTC_INT, OUTPUT);

variants/t1000-e/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#define LORA_SCLK (PIN_SPI_SCK) // P0.11
9999
#define LORA_MISO (PIN_SPI_MISO) // P1.8
100100
#define LORA_MOSI (PIN_SPI_MOSI) // P0.9
101-
101+
102102
#define LR11X0_DIO_AS_RF_SWITCH true
103103
#define LR11X0_DIO3_TCXO_VOLTAGE 1.6
104104

@@ -133,4 +133,4 @@
133133
// Buzzer
134134

135135
#define BUZZER_EN (37) // P1.5
136-
#define BUZZER_PIN (25) // P0.25
136+
#define BUZZER_PIN (25) // P0.25

0 commit comments

Comments
 (0)