Update RegionCommon.c
This commit is contained in:
parent
59c5722dea
commit
7974d4ed73
|
@ -347,7 +347,7 @@ TimerTime_t RegionCommonUpdateBandTimeOff( bool joined, Band_t* bands,
|
||||||
// Check if the band is ready for transmission. Its ready,
|
// Check if the band is ready for transmission. Its ready,
|
||||||
// when the duty cycle is off, or the TimeCredits of the band
|
// when the duty cycle is off, or the TimeCredits of the band
|
||||||
// is higher than the credit costs for the transmission.
|
// is higher than the credit costs for the transmission.
|
||||||
if( ( bands[i].TimeCredits > creditCosts ) ||
|
if( ( bands[i].TimeCredits >= creditCosts ) ||
|
||||||
( ( dutyCycleEnabled == false ) && ( joined == true ) ) )
|
( ( dutyCycleEnabled == false ) && ( joined == true ) ) )
|
||||||
{
|
{
|
||||||
bands[i].ReadyForTransmission = true;
|
bands[i].ReadyForTransmission = true;
|
||||||
|
|
Loading…
Reference in New Issue