move SPI init into main

This commit is contained in:
geeksville
2020-04-30 17:56:30 -07:00
parent e9ca7792eb
commit 48c045a253
4 changed files with 20 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ class RF95Interface : public RadioLibInterface
/**
* Glue functions called from ISR land
*/
virtual void INTERRUPT_ATTR disableInterrupt() { lora->clearDio0Action(); }
virtual void disableInterrupt();
/**
* Enable a particular ISR callback glue function