Move singleton to the initializer to be used by more things later. Made public.

This commit is contained in:
Stephen Olesen
2015-06-30 16:37:55 -06:00
parent 68fb758aef
commit 6a5815d9b5
2 changed files with 4 additions and 1 deletions

View File

@@ -541,6 +541,8 @@ class HamShield {
uint32_t GMRS[];
uint32_t MURS[];
uint32_t WX[];
public:
static HamShield *sHamShield; // HamShield singleton, used for ISRs mostly
// int8_t A1846S::readWord(uint8_t devAddr, uint8_t regAddr, uint16_t *data, uint16_t timeout);