compare prior nibble (prior class of arbitration) for retry added.
This commit is contained in:
@@ -192,6 +192,10 @@ void* EBusLoop::run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// get bus retry
|
||||||
|
if (busResult == RESULT_BUS_PRIOR_RETRY)
|
||||||
|
L.log(bus, trace, " getBus prior retry");
|
||||||
|
|
||||||
if (busResult == RESULT_ERR_BUS_LOST) {
|
if (busResult == RESULT_ERR_BUS_LOST) {
|
||||||
L.log(bus, trace, " getBus failure");
|
L.log(bus, trace, " getBus failure");
|
||||||
if (lookbusretries >= m_lookbusretries) {
|
if (lookbusretries >= m_lookbusretries) {
|
||||||
|
|||||||
+2
-2
@@ -52,8 +52,8 @@ void define_args()
|
|||||||
"\tnumber retries send ebus command (2)",
|
"\tnumber retries send ebus command (2)",
|
||||||
Appl::type_int, Appl::opt_mandatory);
|
Appl::type_int, Appl::opt_mandatory);
|
||||||
|
|
||||||
A.addItem("p_lookbusretries", Appl::Param(5), "", "lookbusretries",
|
A.addItem("p_lookbusretries", Appl::Param(2), "", "lookbusretries",
|
||||||
"number retries to look ebus (5)",
|
"number retries to look ebus (2)",
|
||||||
Appl::type_int, Appl::opt_mandatory);
|
Appl::type_int, Appl::opt_mandatory);
|
||||||
|
|
||||||
A.addItem("p_recvtimeout", Appl::Param(15000), "", "recvtimeout",
|
A.addItem("p_recvtimeout", Appl::Param(15000), "", "recvtimeout",
|
||||||
|
|||||||
Reference in New Issue
Block a user