diff --git a/ubitx_cat.cpp b/ubitx_cat.cpp index dd7adfa..86b950f 100644 --- a/ubitx_cat.cpp +++ b/ubitx_cat.cpp @@ -270,23 +270,10 @@ void catReadEEPRom(uint8_t* cmd, uint8_t* response) catGetEeprom(read_address+1,response+1); } -#include "nano_gui.h" -#include "color_theme.h" void processCatCommand(uint8_t* cmd) { uint8_t response[FT817_MESSAGE_SIZE] = {0}; uint8_t response_length = 0; - static uint8_t x = 0; - static uint8_t y = 0; - for(uint8_t i = 0; i < FT817_MESSAGE_SIZE; ++i){ - snprintf(b+2*i,sizeof(b)-2*i,"%02x",cmd[i]); - } - displayText(b,100*x,40*(1+y),320,30,DISPLAY_WHITE,DISPLAY_BLACK,DISPLAY_BLACK,TextJustification_e::Left); - x = (x + 1) % 3; - if(0 == x){ - y = (y + 1) % 5; - } - switch(cmd[CMD]){ case Ft817Command_e::SetFrequency: {