Skip to content

Commit 7103086

Browse files
committed
Typo
1 parent 64c0031 commit 7103086

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/lorawan.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ void LoRaWANSetup()
4040
LMIC_setClockError(MAX_CLOCK_ERROR * 1 / 100);
4141

4242
// Start job
43-
LoraWANDo_send(&sendjob);
43+
LoRaWANDo_send(&sendjob);
4444
}
4545

46-
void LoraWANDo_send(osjob_t *j)
46+
void LoRaWANDo_send(osjob_t *j)
4747
{
4848
// Check if there is not a current TX/RX job running
4949
if (LMIC.opmode & OP_TXRXPEND)
@@ -52,7 +52,7 @@ void LoraWANDo_send(osjob_t *j)
5252
}
5353
else
5454
{
55-
LoraWANGetData();
55+
LoRaWANGetData();
5656

5757
// Prepare upstream data transmission at the next possible time.
5858
LMIC_setTxData2(1, LORA_DATA, sizeof(LORA_DATA), 0);
@@ -143,7 +143,7 @@ void onEvent(ev_t ev)
143143
}
144144

145145
// Schedule next transmission
146-
os_setTimedCallback(&sendjob, os_getTime() + sec2osticks(TX_INTERVAL), LoraWANDo_send);
146+
os_setTimedCallback(&sendjob, os_getTime() + sec2osticks(TX_INTERVAL), LoRaWANDo_send);
147147
GO_DEEP_SLEEP = true;
148148

149149
break;
@@ -187,7 +187,7 @@ void onEvent(ev_t ev)
187187
}
188188
}
189189

190-
void LoraWANDo(void)
190+
void LoRaWANDo(void)
191191
{
192192
if (GO_DEEP_SLEEP == true)
193193
{
@@ -200,7 +200,7 @@ void LoraWANDo(void)
200200
}
201201
}
202202

203-
void LoraWANGetData()
203+
void LoRaWANGetData()
204204
{
205205
ReadDHTSensor();
206206

src/lorawan.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ void os_getDevEui(u1_t *buf);
2727
void os_getDevKey(u1_t *buf);
2828

2929
void LoRaWANSetup(void);
30-
void LoraWANDo_send(osjob_t *j);
31-
void LoraWANDo(void);
32-
void LoraWANGetData(void);
30+
void LoRaWANDo_send(osjob_t *j);
31+
void LoRaWANDo(void);
32+
void LoRaWANGetData(void);
3333
void LoRaWANVersion(void);
3434

3535
#endif

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ void setup()
2121

2222
void loop()
2323
{
24-
LoraWANDo();
25-
}
24+
LoRaWANDo();
25+
}

0 commit comments

Comments
 (0)