mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-02 02:06:11 +00:00
Added getIRQGpio to return DIO1 (SX1262) and DIO0 (SX127x)
This commit is contained in:
@@ -56,6 +56,7 @@ public:
|
|||||||
// Boards may override to stop a boot-indicator LED sequence or similar.
|
// Boards may override to stop a boot-indicator LED sequence or similar.
|
||||||
// Default no-op: boards that don't care need not implement anything.
|
// Default no-op: boards that don't care need not implement anything.
|
||||||
virtual void onBootComplete() { /* no op */ }
|
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 void sleep(uint32_t secs) { /* no op */ }
|
||||||
virtual uint32_t getGpio() { return 0; }
|
virtual uint32_t getGpio() { return 0; }
|
||||||
virtual void setGpio(uint32_t values) {}
|
virtual void setGpio(uint32_t values) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user