stm32-sx1280: add custom SX1280AutoTxWillStart

This commit is contained in:
Matthias Ringwald 2020-08-18 16:04:38 +02:00
parent 9815de31a3
commit af800f4806
2 changed files with 9 additions and 0 deletions

View File

@ -1199,6 +1199,10 @@ void SX1280OnDioIrq( void )
}
}
void SX1280AutoTxWillStart( void ){
OperatingMode = MODE_TX;
}
void SX1280ProcessIrqs( void )
{
RadioPacketTypes_t packetType = PACKET_TYPE_NONE;

View File

@ -1662,4 +1662,9 @@ int8_t SX1280ParseHexFileLine( char* line );
*/
int8_t SX1280GetHexFileLineFields( char* line, uint8_t *bytes, uint16_t *addr, uint16_t *num, uint8_t *code );
/*!
* /\brief Update operating mode to tx - used to let SX1280ProcessIrqs know that TX is/was active and call the correct handlers
*/
void SX1280AutoTxWillStart(void);
#endif // __SX1280_H__