check lock status before check busy
@@ -109,7 +109,10 @@ void Transmit_WaitUnlockTx(void) // TODO : This function could be in HAL and rep
* @return lock status
******************************************************************************/
static uint8_t Transmit_GetLockStatus(void)
+{
+ if (ctx.tx_lock != true)
{
ctx.tx_lock |= LuosHAL_GetTxLockState();
+ }
return ctx.tx_lock;
}
