Update RegionCommon.c

This commit is contained in:
J0hanss0n 2022-08-29 15:13:23 +02:00 committed by GitHub
parent 59c5722dea
commit 7974d4ed73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ TimerTime_t RegionCommonUpdateBandTimeOff( bool joined, Band_t* bands,
// Check if the band is ready for transmission. Its ready,
// when the duty cycle is off, or the TimeCredits of the band
// is higher than the credit costs for the transmission.
if( ( bands[i].TimeCredits > creditCosts ) ||
if( ( bands[i].TimeCredits >= creditCosts ) ||
( ( dutyCycleEnabled == false ) && ( joined == true ) ) )
{
bands[i].ReadyForTransmission = true;