A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
update message when nothing to display on the screen
Geoe29894ccf892
diff --git a/src/Views/M5DeviceView.cpp b/src/Views/M5DeviceView.cppindex 3a0dd0af..e806477a 100644--- a/src/Views/M5DeviceView.cpp+++ b/src/Views/M5DeviceView.cpp@@ -200,7 +200,7 @@ void M5DeviceView::noMapping() {M5.Lcd.drawRoundRect(10, 28, M5.Lcd.width() - 20, 97, DEFAULT_ROUND_RECT, PRIMARY_COLOR);// Description- std::string map = "No mapping defined";+ std::string map = "Nothing to display";M5.Lcd.setTextSize(1.5);M5.Lcd.setTextColor(TEXT_COLOR);int16_t titleX = (M5.Lcd.width() - M5.Lcd.textWidth(map.c_str())) / 2;diff --git a/src/Views/TembedDeviceView.cpp b/src/Views/TembedDeviceView.cppindex 357b3a0a..19365517 100644--- a/src/Views/TembedDeviceView.cpp+++ b/src/Views/TembedDeviceView.cpp@@ -333,7 +333,7 @@ void TembedDeviceView::show(PinoutConfig& config) {canvas.setTextColor(TFT_WHITE);canvas.setTextFont(2);- canvas.drawString("No mapping defined", 100, 85);+ canvas.drawString("Nothing to display", 100, 85);canvas.pushSprite(0, 0);canvas.deleteSprite();return;