mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-29 18:56:14 +02:00
xxx
This commit is contained in:
parent
1618868f9f
commit
09e5d28768
@ -165,7 +165,7 @@ double tx_power_step2dBm(struct atrf_dsc *dsc, int step)
|
|||||||
{
|
{
|
||||||
const double *tx_pwr = tx_power_table(dsc);
|
const double *tx_pwr = tx_power_table(dsc);
|
||||||
|
|
||||||
if (step < 0 || step > POWER_TABLE_SIZE)
|
if (step < 0 || step >= POWER_TABLE_SIZE)
|
||||||
abort();
|
abort();
|
||||||
return tx_pwr[step];
|
return tx_pwr[step];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user