summaryrefslogtreecommitdiff
path: root/Mode
diff options
context:
space:
mode:
authorRyan Klaassen <ryan.klaassen@multitech.com>2016-08-10 13:04:52 -0500
committerRyan Klaassen <ryan.klaassen@multitech.com>2016-08-10 13:04:52 -0500
commit5d9f1f7f1863c7c92d7aa29c37ced672b2946118 (patch)
treeba29f863ea8302990f7a002ae5f15d931e9ac6ee /Mode
parentd4fe469db33a60931015e721ec851bf7f7856f37 (diff)
downloadmtdot-box-evb-factory-firmware-5d9f1f7f1863c7c92d7aa29c37ced672b2946118.tar.gz
mtdot-box-evb-factory-firmware-5d9f1f7f1863c7c92d7aa29c37ced672b2946118.tar.bz2
mtdot-box-evb-factory-firmware-5d9f1f7f1863c7c92d7aa29c37ced672b2946118.zip
Replace ModeData.h
Diffstat (limited to 'Mode')
-rw-r--r--Mode/ModeData.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/Mode/ModeData.h b/Mode/ModeData.h
index 2fe5239..f9da741 100644
--- a/Mode/ModeData.h
+++ b/Mode/ModeData.h
@@ -22,12 +22,8 @@
#include "Mode.h"
#include "LayoutData.h"
#include "LayoutHelp.h"
-//max size of line plus one
-#define ONELINEMAX 93
-
-class ModeData : public Mode
-{
+class ModeData : public Mode{
public:
ModeData(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHandler* lora, GPSPARSER* gps, SensorHandler* sensors);
@@ -35,18 +31,14 @@ public:
bool start();
-
private:
-
-
-
bool _last;
string _str;
int32_t _pos, _buf_size, _indexUpdate, _prev;
uint32_t _index;
- char _buf[ONELINEMAX];
+ char _buf[93];
mDot::mdot_file _file;
@@ -62,8 +54,5 @@ private:
void forward();
void back();
void configSw();
-
-
};
-
#endif \ No newline at end of file