SX1262 approximately works top-to-bottom, but need to add sleep modes

This commit is contained in:
geeksville
2020-04-30 15:43:41 -07:00
parent a2ba9d3c44
commit 62a893c760
3 changed files with 22 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ class RadioLibInterface : public RadioInterface
/**
* What sort of interrupt do we expect our helper thread to now handle */
volatile PendingISR pending;
volatile PendingISR pending = ISR_NONE;
/** Our ISR code currently needs this to find our active instance
*/
@@ -28,6 +28,11 @@ class RadioLibInterface : public RadioInterface
*/
static void isrTxLevel0();
/**
* Debugging counts
*/
uint32_t rxBad = 0, rxGood = 0, txGood = 0;
protected:
float bw = 125;
uint8_t sf = 9;