mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 15:50:36 -08:00
Fix packet monitor feed
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -317,7 +317,7 @@ void Display::displayBuffer(bool do_clear)
|
|||||||
{
|
{
|
||||||
if (this->display_buffer->size() > 0)
|
if (this->display_buffer->size() > 0)
|
||||||
{
|
{
|
||||||
int print_count = 10;
|
int print_count = 1;
|
||||||
while ((display_buffer->size() > 0) && (print_count > 0))
|
while ((display_buffer->size() > 0) && (print_count > 0))
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -347,8 +347,10 @@ void Display::displayBuffer(bool do_clear)
|
|||||||
|
|
||||||
for (int i = 0; i < this->screen_buffer->size(); i++) {
|
for (int i = 0; i < this->screen_buffer->size(); i++) {
|
||||||
tft.setCursor(xPos, (i * 12) + (SCREEN_HEIGHT / 6));
|
tft.setCursor(xPos, (i * 12) + (SCREEN_HEIGHT / 6));
|
||||||
for (int x = 0; x < TFT_WIDTH / CHAR_WIDTH; x++)
|
String spaces = String(' ', TFT_WIDTH / CHAR_WIDTH);
|
||||||
tft.print(" ");
|
//for (int x = 0; x < TFT_WIDTH / CHAR_WIDTH; x++)
|
||||||
|
// tft.print(" ");
|
||||||
|
tft.print(spaces);
|
||||||
tft.setCursor(xPos, (i * 12) + (SCREEN_HEIGHT / 6));
|
tft.setCursor(xPos, (i * 12) + (SCREEN_HEIGHT / 6));
|
||||||
|
|
||||||
this->processAndPrintString(tft, this->screen_buffer->get(i));
|
this->processAndPrintString(tft, this->screen_buffer->get(i));
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user