File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,15 @@ class SX126x
169
169
170
170
// Interrupt handler methods
171
171
void _irqSetup (uint16_t irqMask);
172
+ #ifdef ESP8266
173
+ static void ICACHE_RAM_ATTR _interruptTx ();
174
+ static void ICACHE_RAM_ATTR _interruptRx ();
175
+ static void ICACHE_RAM_ATTR _interruptRxContinuous ();
176
+ #else
172
177
static void _interruptTx ();
173
178
static void _interruptRx ();
174
179
static void _interruptRxContinuous ();
180
+ #endif
175
181
176
182
};
177
183
Original file line number Diff line number Diff line change @@ -257,9 +257,16 @@ class SX127x
257
257
uint16_t _random;
258
258
259
259
// Interrupt handler methods
260
+ #ifdef ESP8266
261
+ static void ICACHE_RAM_ATTR _interruptTx ();
262
+ static void ICACHE_RAM_ATTR _interruptRx ();
263
+ static void ICACHE_RAM_ATTR _interruptRxContinuous ();
264
+ #else
260
265
static void _interruptTx ();
261
266
static void _interruptRx ();
262
267
static void _interruptRxContinuous ();
268
+ #endif
269
+
263
270
static uint8_t _transfer (uint8_t address, uint8_t data);
264
271
265
272
};
You can’t perform that action at this time.
0 commit comments