summaryrefslogtreecommitdiff
path: root/Mode/ModeJoin.h
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-20 10:08:28 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-20 10:08:28 -0600
commit4166bbd0ff84397f31d4928c2ebe6d9a57c3694d (patch)
treec8dcffee0c9c26a34883bf6d7ab7b2b7051291e3 /Mode/ModeJoin.h
parent5634a9576e46c0c89e3b0c876d5ecf7b7e70c067 (diff)
downloadmtdot-box-evb-factory-firmware-4166bbd0ff84397f31d4928c2ebe6d9a57c3694d.tar.gz
mtdot-box-evb-factory-firmware-4166bbd0ff84397f31d4928c2ebe6d9a57c3694d.tar.bz2
mtdot-box-evb-factory-firmware-4166bbd0ff84397f31d4928c2ebe6d9a57c3694d.zip
refactor more common elements into Mode template class
Diffstat (limited to 'Mode/ModeJoin.h')
-rw-r--r--Mode/ModeJoin.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Mode/ModeJoin.h b/Mode/ModeJoin.h
index 6ab6622..af48d94 100644
--- a/Mode/ModeJoin.h
+++ b/Mode/ModeJoin.h
@@ -3,12 +3,10 @@
#include "Mode.h"
#include "LayoutJoin.h"
-#include "mDot.h"
-#include "LoRaHandler.h"
class ModeJoin : public Mode {
public:
- ModeJoin(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHandler* lora, uint8_t band);
+ ModeJoin(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHandler* lora);
~ModeJoin();
bool start();
@@ -17,16 +15,7 @@ class ModeJoin : public Mode {
void display();
LayoutJoin _join;
- mDot* _dot;
- LoRaHandler* _lora;
- uint8_t _band;
- uint8_t _sub_band;
- uint8_t _data_rate;
- uint8_t _power;
- uint32_t _next_tx;
bool _joined;
- ButtonHandler::ButtonEvent _be;
- LoRaHandler::LoRaStatus _ls;
};
#endif