Skip to content

Commit

Permalink
Make code same as RX
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Jun 13, 2024
1 parent 6b31c4b commit e503114
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/src/tx_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,9 +590,7 @@ void ICACHE_RAM_ATTR SendRCdataToRF()
{
// No packet will be sent due to LBT.
// Defer TXdoneCallback() to prepare for TLM when the IRQ is normally triggered.
deferExecutionMicros(ExpressLRS_currAirRate_RFperfParams->TOA, []() {
Radio.TXdoneCallback();
});
deferExecutionMicros(ExpressLRS_currAirRate_RFperfParams->TOA, Radio.TXdoneCallback);
}
else
#endif
Expand Down

0 comments on commit e503114

Please sign in to comment.