1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-29 18:56:14 +02:00
This commit is contained in:
Werner Almesberger 2011-04-12 19:17:43 -03:00
parent 1618868f9f
commit 09e5d28768

View File

@ -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];
} }