Acknowledge mailbox read by master on SM1 event instead of SM Status IntR

pull/42/head
rtlaka 2018-02-19 11:17:31 +01:00
parent 8711eb5968
commit c08f90bb82
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ uint8_t ESC_mbxprocess (void)
}
/* outmbx read by master */
if (ESCvar.mbxoutpost && ESCvar.SM[1].IntR)
if (ESCvar.mbxoutpost && (ESCvar.ALevent & ESCREG_ALEVENT_SM1))
{
ESC_ackmbxread ();
/* dispose old backup */