Remove debug drawing

This commit is contained in:
Reed Nightingale 2020-05-04 00:56:25 -07:00
parent a7cbf50384
commit 6a6dc2a29a
1 changed files with 0 additions and 13 deletions

View File

@ -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:
{