As being the 'is_tx = 0' cannot be moved in the whole handler on account of a attainable race among the delay in switching to STATE_RX_AACK_ON along with a new interrupt, we introduce an intermediate 'was_tx' boolean only for this reason. There is not any Fixes tag making use of https://lifetime-hosting-service27159.blogpostie.com/50854847/the-definitive-guide-to-lifetime-hosting