An example of what will cause it:
#define DISPLAY_COMMS_RESET_RX() DisplayCommsRxResponsesReceived = 0; DisplayCommsRxResponseByte = 0; DisplayCommsResponsesChecked = 0
Ideally you’d call a function instead, but there is a recommended workaround:
#define DISPLAY_COMMS_RESET_RX() do {DisplayCommsRxResponsesReceived = 0; DisplayCommsRxResponseByte = 0; DisplayCommsResponsesChecked = 0;} while (0)
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.