Skip to content

Commit 8ff3e49

Browse files
committed
Removed vestigial support for "recoverable errors" performance counter
1 parent b4cffd8 commit 8ff3e49

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

jtagd/ConnectionThread.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,6 @@ void ProcessConnection(JtagInterface* iface, Socket& client)
291291
}
292292
break;
293293

294-
case JTAGD_OP_PERF_RECOV:
295-
{
296-
uint64_t n = iface->GetRecoverableErrorCount();
297-
client.SendLooped((unsigned char*)&n, 8);
298-
}
299-
break;
300-
301294
case JTAGD_OP_PERF_DATA:
302295
{
303296
uint64_t n = iface->GetDataBitCount();

jtagd/main.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ int main(int argc, char* argv[])
305305

306306
//Print interface statistics
307307
LogNotice("Total number of shift operations: %zu\n", iface->GetShiftOpCount());
308-
LogNotice("Total number of recoverable errors: %zu\n", iface->GetRecoverableErrorCount());
309308
LogNotice("Total number of data bits: %zu\n", iface->GetDataBitCount());
310309
LogNotice("Total number of mode bits: %zu\n", iface->GetModeBitCount());
311310
LogNotice("Total number of dummy clocks: %zu\n", iface->GetDummyClockCount());
@@ -444,7 +443,7 @@ void ListAdapters()
444443
{
445444
try
446445
{
447-
if(FTDIJtagInterface::IsJtagCapable(i))
446+
if(FTDIJtagInterface::IsMPSSECapable(i))
448447
{
449448
LogNotice("Interface %d: %s\n", idev, FTDIJtagInterface::GetDescription(i).c_str());
450449
LogIndenter li;

0 commit comments

Comments
 (0)