Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

fix 3wire rst pin in state

Geod8f74dcf8a4b
diff --git a/src/States/GlobalState.h b/src/States/GlobalState.h
index 8e51e433..0cc62907 100644
--- a/src/States/GlobalState.h
+++ b/src/States/GlobalState.h
@@ -391,6 +391,9 @@ public:
#ifdef TWOWIRE_IO_PIN
twoWireIoPin = TWOWIRE_IO_PIN;
#endif
+ #ifdef TWOWIRE_RST_PIN
+ twoWireRstPin = TWOWIRE_RST_PIN;
+ #endif
#ifdef THREEWIRE_CS_PIN
threeWireCsPin = THREEWIRE_CS_PIN;
#endif