A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
fix tembed brightness func, ph for now
Geoc162e5fd0b1f
diff --git a/src/Views/TembedDeviceView.cpp b/src/Views/TembedDeviceView.cppindex a08eb852..69089f01 100644--- a/src/Views/TembedDeviceView.cpp+++ b/src/Views/TembedDeviceView.cpp@@ -51,8 +51,6 @@ void TembedDeviceView::logo() {GlobalState& state = GlobalState::getInstance();auto version = "ESP32 Bus Pirate - " + state.getVersion();drawCenterText(version.c_str(), 130, 1.9);-- delay(3000);}void TembedDeviceView::welcome(TerminalTypeEnum& terminalType, std::string& terminalInfos) {@@ -151,11 +149,13 @@ void TembedDeviceView::setRotation(uint8_t rotation) {}void TembedDeviceView::setBrightness(uint8_t brightness) {- tft.setBrightness(brightness);+ // TODO: handle this+ // tft.setBrightness(brightness);}uint8_t TembedDeviceView::getBrightness() {- return tft.getBrightness();+ // return tft.getBrightness();+ return 100; // TODO : handle this}void TembedDeviceView::topBar(const std::string& title, bool submenu, bool searchBar) {