onlyh show missed bus if logging is enabled

This commit is contained in:
Paul
2019-07-28 20:23:13 +02:00
parent 6baa16667e
commit f2b3c7b2d7

View File

@@ -742,7 +742,9 @@ void ems_parseTelegram(uint8_t * telegram, uint8_t length) {
* buffer isn't valid anymore, so we must not answer at all...
*/
if (EMS_Sys_Status.emsRxStatus != EMS_RX_STATUS_IDLE) {
if (EMS_Sys_Status.emsLogging > EMS_SYS_LOGGING_NONE) {
myDebug_P(PSTR("** [DEBUG MODE] We missed the bus - Rx non-idle!")); //TODO tidy up error logging
}
return;
}