small fixes
This commit is contained in:
parent
dd19983129
commit
ffd4c051c3
1 changed files with 3 additions and 3 deletions
|
|
@ -187,8 +187,8 @@ void drawDecodedSignal() {
|
||||||
|
|
||||||
toPrint="PROTOCOL: ";
|
toPrint="PROTOCOL: ";
|
||||||
toPrint+=(String)mySwitch.getReceivedProtocol();
|
toPrint+=(String)mySwitch.getReceivedProtocol();
|
||||||
printConsoleLocal(toPrint, TFT_RED, 1, 0);
|
printConsoleLocal(toPrint, TFT_YELLOW, 1, 0);
|
||||||
printConsoleLocal(protDecode[mySwitch.getReceivedProtocol()], TFT_RED, 1, 0);
|
printConsoleLocal(protDecode[mySwitch.getReceivedProtocol()], TFT_YELLOW, 1, 0);
|
||||||
|
|
||||||
uint16_t databitsoffset = abs((int16_t)mySwitch.getReceivedLevelInFirstTiming() - (int16_t)mySwitch.getReceivedInverted());
|
uint16_t databitsoffset = abs((int16_t)mySwitch.getReceivedLevelInFirstTiming() - (int16_t)mySwitch.getReceivedInverted());
|
||||||
uint32_t dataduration = 0;
|
uint32_t dataduration = 0;
|
||||||
|
|
@ -295,7 +295,7 @@ void setup(){
|
||||||
EEPROM.begin(2048);
|
EEPROM.begin(2048);
|
||||||
readEEPROM();
|
readEEPROM();
|
||||||
|
|
||||||
myESPboy.begin("ESPboy Sub1GHz module");
|
myESPboy.begin("Sub1GHz inspector");
|
||||||
myLED.begin(&myESPboy.mcp);
|
myLED.begin(&myESPboy.mcp);
|
||||||
terminalGUIobj = new ESPboyTerminalGUI(&myESPboy.tft, &myESPboy.mcp);
|
terminalGUIobj = new ESPboyTerminalGUI(&myESPboy.tft, &myESPboy.mcp);
|
||||||
menuGUIobj = new ESPboyMenuGUI(&myESPboy.tft, &myESPboy.mcp);
|
menuGUIobj = new ESPboyMenuGUI(&myESPboy.tft, &myESPboy.mcp);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue