Skip to content

Commit

Permalink
Merge pull request #1514 from f0rget-the-sad/multi-rb
Browse files Browse the repository at this point in the history
remote_bitbang: make send_buf class member
  • Loading branch information
aswaterman authored Nov 29, 2023
2 parents 90aa49f + a68f2ca commit 3bc4f0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion riscv/remote_bitbang.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ void remote_bitbang_t::tick()

void remote_bitbang_t::execute_commands()
{
static char send_buf[buf_size];
unsigned total_processed = 0;
bool quit = false;
bool in_rti = tap->state() == RUN_TEST_IDLE;
Expand Down
1 change: 1 addition & 0 deletions riscv/remote_bitbang.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class remote_bitbang_t
int client_fd;

static const ssize_t buf_size = 64 * 1024;
char send_buf[buf_size];
char recv_buf[buf_size];
ssize_t recv_start, recv_end;

Expand Down

0 comments on commit 3bc4f0f

Please sign in to comment.