Close Call should be more accurate

Merged close call and wideband spectrum baseband processors
This commit is contained in:
furrtek 2017-02-01 08:53:26 +00:00
parent 064e097bc3
commit 8662ed4024
19 changed files with 143 additions and 254 deletions

View file

@ -34,7 +34,7 @@ namespace ui {
class AlphanumView : public View {
public:
std::function<void(char *)> on_changed;
std::function<void(char *)> on_changed { };
AlphanumView(NavigationView& nav, char txt[], size_t max_length);
@ -55,8 +55,8 @@ private:
const char * const keys_upper = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ. !<";
const char * const keys_lower = "0123456789abcdefghijklmnopqrstuvwxyz:=?<";
size_t _max_length;
uint8_t txtidx;
size_t _max_length { };
uint8_t txtidx { 0 };
bool _lowercase = false;
char txtinput[29] = { 0 }; // 28 chars max