mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-07 15:27:18 -05:00
Remove debug drawing
This commit is contained in:
parent
a7cbf50384
commit
6a6dc2a29a
@ -270,23 +270,10 @@ void catReadEEPRom(uint8_t* cmd, uint8_t* response)
|
|||||||
catGetEeprom(read_address+1,response+1);
|
catGetEeprom(read_address+1,response+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "nano_gui.h"
|
|
||||||
#include "color_theme.h"
|
|
||||||
void processCatCommand(uint8_t* cmd) {
|
void processCatCommand(uint8_t* cmd) {
|
||||||
uint8_t response[FT817_MESSAGE_SIZE] = {0};
|
uint8_t response[FT817_MESSAGE_SIZE] = {0};
|
||||||
uint8_t response_length = 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]){
|
switch(cmd[CMD]){
|
||||||
case Ft817Command_e::SetFrequency:
|
case Ft817Command_e::SetFrequency:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user