Currently, the send message function assigns the pattern determined by ledmon every time, regardless whether the controller returned a success or not. This mechanism should start recognizing whether the pattern was written successfully, and handle these states accordingly.
Reason
Failure of the controller to write supported pattern leads to the fact that there will be no attempt to enter it again, because the controller does not attempt to write it if actual ibpi is the same as prev.
incorrect patterns determined by ledmon are also entered into ibpi_prev, which seems logically incorrect, such a case should have its own error handling, it may hide an error in implementation or events.
Description
Currently, the send message function assigns the pattern determined by ledmon every time, regardless whether the controller returned a success or not. This mechanism should start recognizing whether the pattern was written successfully, and handle these states accordingly.
Reason
Environment
N/A