diff --git a/nano_gui.h b/nano_gui.h index e00d4c5..c8681ad 100644 --- a/nano_gui.h +++ b/nano_gui.h @@ -19,8 +19,6 @@ void displayChar(int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t void displayText(const char *const text, int x1, int y1, int w, int h, int color, int background, int border, TextJustification_e justification = TextJustification_e::Center); /* these functions are called universally to update the display */ -void updateDisplay(); //updates just the VFO frequency to show what is in 'frequency' variable -void redrawVFOs(); //redraws only the changed digits of the vfo void drawTx(); #define TEXT_LINE_HEIGHT 18 diff --git a/settings.cpp b/settings.cpp index efdd6ef..f496439 100644 --- a/settings.cpp +++ b/settings.cpp @@ -189,5 +189,4 @@ void SetActiveVfoMode(VfoMode_e mode) else{ globalSettings.vfoB.mode = mode; } - redrawVFOs(); } diff --git a/tmp.cpp b/tmp.cpp deleted file mode 100644 index 53c8aba..0000000 --- a/tmp.cpp +++ /dev/null @@ -1,2 +0,0 @@ -void updateDisplay() {} -void redrawVFOs(){} diff --git a/tuner.cpp b/tuner.cpp index 1eb3724..9e99ea6 100644 --- a/tuner.cpp +++ b/tuner.cpp @@ -19,7 +19,6 @@ void switchVFO(Vfo_e new_vfo){ globalSettings.activeVfo = new_vfo; setFrequency(GetActiveVfoFreq()); - redrawVFOs(); saveVFOs(); } @@ -194,7 +193,6 @@ void ritDisable(){ if(globalSettings.ritOn){ globalSettings.ritOn = false; setFrequency(globalSettings.ritFrequency); - updateDisplay(); } } diff --git a/ubitx_cat.cpp b/ubitx_cat.cpp index b09192b..b5fd491 100644 --- a/ubitx_cat.cpp +++ b/ubitx_cat.cpp @@ -281,7 +281,6 @@ void processCatCommand(uint8_t* cmd) { { uint32_t f = readFreq(cmd); setFrequency(f); - updateDisplay(); break; } @@ -320,7 +319,6 @@ void processCatCommand(uint8_t* cmd) { } setFrequency(GetActiveVfoFreq());//Refresh frequency to get new mode to take effect - updateDisplay(); break; case Ft817Command_e::PttOn: @@ -331,7 +329,6 @@ void processCatCommand(uint8_t* cmd) { else { response[0] = RACK; } - updateDisplay(); break; case Ft817Command_e::PttOff: @@ -342,7 +339,6 @@ void processCatCommand(uint8_t* cmd) { response[0] = RACK; } globalSettings.txCatActive = false; - updateDisplay(); break; case Ft817Command_e::VfoToggle: @@ -352,7 +348,6 @@ void processCatCommand(uint8_t* cmd) { else{ globalSettings.activeVfo = Vfo_e::VFO_A; } - updateDisplay(); break; case Ft817Command_e::ReadEeprom: