17 int32_t dbmi_target =
static_cast<int32_t
>(std::lround(dbm_target * 10));
18 for (
size_t i = 0; i < count; i++) {
20 if (dbmi_target >= dbmi) {
22 if (items[i].
value >= 0x61 && items[i].
value <= 0x6F) {
25 dbm_target =
static_cast<float>(dbmi) / 10.0f;
26 return items[i].
value;
34static const PowerTableItem PA_TABLE_315[] = {
71static const PowerTableItem PA_TABLE_433[] = {
105static const PowerTableItem PA_TABLE_868[] = {
140static const PowerTableItem PA_TABLE_915[] = {
static uint8_t find(const PowerTableItem *items, size_t count, float &dbm_target)