File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ void LoRaWANSetup()
40
40
LMIC_setClockError (MAX_CLOCK_ERROR * 1 / 100 );
41
41
42
42
// Start job
43
- LoraWANDo_send (&sendjob);
43
+ LoRaWANDo_send (&sendjob);
44
44
}
45
45
46
- void LoraWANDo_send (osjob_t *j)
46
+ void LoRaWANDo_send (osjob_t *j)
47
47
{
48
48
// Check if there is not a current TX/RX job running
49
49
if (LMIC.opmode & OP_TXRXPEND)
@@ -52,7 +52,7 @@ void LoraWANDo_send(osjob_t *j)
52
52
}
53
53
else
54
54
{
55
- LoraWANGetData ();
55
+ LoRaWANGetData ();
56
56
57
57
// Prepare upstream data transmission at the next possible time.
58
58
LMIC_setTxData2 (1 , LORA_DATA, sizeof (LORA_DATA), 0 );
@@ -143,7 +143,7 @@ void onEvent(ev_t ev)
143
143
}
144
144
145
145
// 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 );
147
147
GO_DEEP_SLEEP = true ;
148
148
149
149
break ;
@@ -187,7 +187,7 @@ void onEvent(ev_t ev)
187
187
}
188
188
}
189
189
190
- void LoraWANDo (void )
190
+ void LoRaWANDo (void )
191
191
{
192
192
if (GO_DEEP_SLEEP == true )
193
193
{
@@ -200,7 +200,7 @@ void LoraWANDo(void)
200
200
}
201
201
}
202
202
203
- void LoraWANGetData ()
203
+ void LoRaWANGetData ()
204
204
{
205
205
ReadDHTSensor ();
206
206
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ void os_getDevEui(u1_t *buf);
27
27
void os_getDevKey (u1_t * buf );
28
28
29
29
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 );
33
33
void LoRaWANVersion (void );
34
34
35
35
#endif
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ void setup()
21
21
22
22
void loop ()
23
23
{
24
- LoraWANDo ();
25
- }
24
+ LoRaWANDo ();
25
+ }
You can’t perform that action at this time.
0 commit comments