Browse Source
Merge pull request #2282 from v-efimov/master
added is_client_connected method to remote_bitbang class
pull/2212/merge
Andrew Waterman
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
7 additions and
0 deletions
-
riscv/remote_bitbang.cc
-
riscv/remote_bitbang.h
|
|
|
@ -184,3 +184,7 @@ void remote_bitbang_t::execute_commands() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bool remote_bitbang_t::is_client_connected() const{ |
|
|
|
return client_fd != 0; |
|
|
|
} |
|
|
|
@ -15,6 +15,9 @@ public: |
|
|
|
// Do a bit of work.
|
|
|
|
void tick(); |
|
|
|
|
|
|
|
// Check if any client is connected
|
|
|
|
bool is_client_connected() const; |
|
|
|
|
|
|
|
private: |
|
|
|
jtag_dtm_t *tap; |
|
|
|
|
|
|
|
|