Swap PL and PS I2C #725
@ -29,7 +29,9 @@ ReturnValue_t TmpDevFdir::eventReceived(EventMessage* event) {
|
|||||||
case DeviceHandlerIF::DEVICE_BUILDING_COMMAND_FAILED:
|
case DeviceHandlerIF::DEVICE_BUILDING_COMMAND_FAILED:
|
||||||
// These faults all mean that there were stupid replies from a device.
|
// These faults all mean that there were stupid replies from a device.
|
||||||
// With now way to do a recovery, set the device to faulty immediately.
|
// With now way to do a recovery, set the device to faulty immediately.
|
||||||
meggert marked this conversation as resolved
Outdated
|
|||||||
setFaulty(event->getEvent());
|
if (strangeReplyCount.incrementAndCheck()) {
|
||||||
|
setFaulty(event->getEvent());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case DeviceHandlerIF::DEVICE_SENDING_COMMAND_FAILED:
|
case DeviceHandlerIF::DEVICE_SENDING_COMMAND_FAILED:
|
||||||
case DeviceHandlerIF::DEVICE_REQUESTING_REPLY_FAILED:
|
case DeviceHandlerIF::DEVICE_REQUESTING_REPLY_FAILED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user
Now way you did this
now way someone is actually reading the comments