A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add ifdef for m5 device view
Geo8a61dc70c0ee
diff --git a/src/Views/M5DeviceView.cpp b/src/Views/M5DeviceView.cppindex 0fe135a8..81e27a34 100644--- a/src/Views/M5DeviceView.cpp+++ b/src/Views/M5DeviceView.cpp@@ -1,3 +1,5 @@+#if defined(DEVICE_CARDPUTER) || defined(DEVICE_M5STICK)+#include "M5DeviceView.h"@@ -287,3 +289,5 @@ void M5DeviceView::drawLogicTrace(uint8_t pin, const std::vector<uint8_t>& buffecanvas.deleteSprite();}++#endif\ No newline at end of filediff --git a/src/Views/M5DeviceView.h b/src/Views/M5DeviceView.hindex f7db7438..c9cad355 100644--- a/src/Views/M5DeviceView.h+++ b/src/Views/M5DeviceView.h@@ -1,5 +1,7 @@#pragma once+#if defined(DEVICE_CARDPUTER) || defined(DEVICE_M5STICK)+#include <algorithm>#include <M5Unified.h>#include "Interfaces/IDeviceView.h"@@ -47,3 +49,5 @@ private:void noMapping();};++#endif\ No newline at end of file