diff --git a/firmware/common/cpld_max5.hpp b/firmware/common/cpld_max5.hpp index 6a206b64..98bf96d8 100644 --- a/firmware/common/cpld_max5.hpp +++ b/firmware/common/cpld_max5.hpp @@ -94,11 +94,6 @@ public: shift_ir(static_cast(instruction)); } - template - void shift_dr(std::bitset& bits) { - jtag.shift_dr(bits); - } - private: jtag::JTAG& jtag; diff --git a/firmware/common/jtag.hpp b/firmware/common/jtag.hpp index 57d258ac..d0f72035 100644 --- a/firmware/common/jtag.hpp +++ b/firmware/common/jtag.hpp @@ -90,27 +90,6 @@ public: return result; } - template - void shift_dr(std::bitset& bits) { - /* Run-Test/Idle -> Select-DR-Scan */ - target.clock(1, 0); - /* Scan -> Capture -> Shift */ - target.clock(0, 0); - target.clock(0, 0); - - for(size_t i=0; i Update */ - target.clock(1, 0); - /* Update -> Run-Test/Idle */ - target.clock(0, 0); - } - private: Target& target;