Browse Source

Added getIRQGpio to return DIO1 (SX1262) and DIO0 (SX127x)

Kevin Le 5 months ago
parent
commit
8e09984ca3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/MeshCore.h

+ 1 - 0
src/MeshCore.h

@@ -56,6 +56,7 @@ public:
   // Boards may override to stop a boot-indicator LED sequence or similar.
   // Default no-op: boards that don't care need not implement anything.
   virtual void onBootComplete() { /* no op */ }
+  virtual uint32_t getIRQGpio() { return -1; } // not supported. Returns DIO1 (SX1262) and DIO0 (SX127x)
   virtual void sleep(uint32_t secs)  { /* no op */ }
   virtual uint32_t getGpio() { return 0; }
   virtual void setGpio(uint32_t values) {}