As being the 'is_tx = 0' can not be moved in the whole handler on account of a doable race between the hold off in switching to STATE_RX_AACK_ON in addition to a new interrupt, we introduce an intermediate 'was_tx' boolean only for this reason. There isn't any Fixes tag applying https://astrapremium15937.educationalimpactblog.com/50920750/how-convert-pro-addon-can-save-you-time-stress-and-money