fix STR bugs and improve code

- Reset reply size after returning a reply
- Reset data link layer and flush RX for regular commands and before
  performing special commands to ensure consistent start state
- Clean up DHB a bit
- Set STR dev to OFF in assembly when it is faulty.
This commit is contained in:
2023-04-04 01:35:05 +02:00
parent afbab6d3f2
commit 9270165bf8
5 changed files with 72 additions and 59 deletions

View File

@ -374,6 +374,8 @@ class StrComHandler : public SystemObject, public DeviceCommunicationIF, public
* @return
*/
ReturnValue_t readOneReply(uint32_t failParameter);
void resetReplyHandlingState();
};
#endif /* BSP_Q7S_DEVICES_STRHELPER_H_ */