mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-02 02:58:06 +02:00
Removed the svf programming code from devices and added device independent svf programming in main.cpp
Fixed a type error in svf_jtag.cpp
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ static unsigned char *parse_hex(string const &in, size_t byte_length,
|
||||
{
|
||||
unsigned char *txbuf = new unsigned char[byte_length];
|
||||
char c;
|
||||
size_t last_iter = in.size() - (2 * byte_length);
|
||||
for (size_t i = (in.size() - 1), pos = 0; i >= last_iter; i--, pos++) {
|
||||
ssize_t last_iter = in.size() - (2 * byte_length);
|
||||
for (ssize_t i = (in.size() - 1), pos = 0; i >= last_iter; i--, pos++) {
|
||||
if (i < 0) {
|
||||
c = default_value ? 0x0f : 0x00;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user