Skip to content

Commit 101a7bf

Browse files
authored
Merge pull request #21811 from fabian18/pr/pa_config_endif_fix
drivers/sx126x: fix misplaced endif _select_pa_cfg
2 parents c99a260 + 6cd3e5c commit 101a7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sx126x/sx126x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ static int8_t _select_pa_cfg(sx126x_t *dev, int8_t tx_power_dbm,
179179
}
180180
#else
181181
*pa_cfg = &hpa_cfg[0];
182-
return 14;
183182
#endif
183+
return 14;
184184
}
185185
else if (tx_power_dbm <= 17) {
186186
*pa_cfg = &hpa_cfg[1];

0 commit comments

Comments
 (0)