Skip to content

Commit 22438d2

Browse files
authored
Update LoRa.h
1 parent 2f8e281 commit 22438d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/LoRa.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ class LoRaClass : public Stream {
4747

4848
int rssi();
4949

50+
int temperature(); // Modified
51+
5052
// from Print
5153
virtual size_t write(uint8_t byte);
5254
virtual size_t write(const uint8_t *buffer, size_t size);
@@ -59,11 +61,9 @@ class LoRaClass : public Stream {
5961

6062
#ifndef ARDUINO_SAMD_MKRWAN1300
6163
void onReceive(void(*callback)(int));
62-
void onCadDone(void(*callback)(boolean));
6364
void onTxDone(void(*callback)());
6465

6566
void receive(int size = 0);
66-
void channelActivityDetection(void);
6767
#endif
6868
void idle();
6969
void sleep();
@@ -124,7 +124,6 @@ class LoRaClass : public Stream {
124124
int _packetIndex;
125125
int _implicitHeaderMode;
126126
void (*_onReceive)(int);
127-
void (*_onCadDone)(boolean);
128127
void (*_onTxDone)();
129128
};
130129

0 commit comments

Comments
 (0)