summaryrefslogtreecommitdiff
path: root/loragw_tx_test/src/loragw_tx_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'loragw_tx_test/src/loragw_tx_test.c')
-rw-r--r--loragw_tx_test/src/loragw_tx_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loragw_tx_test/src/loragw_tx_test.c b/loragw_tx_test/src/loragw_tx_test.c
index bb8fe2c..d1c5403 100644
--- a/loragw_tx_test/src/loragw_tx_test.c
+++ b/loragw_tx_test/src/loragw_tx_test.c
@@ -158,7 +158,7 @@ int main(int argc, char **argv)
case 'p': /* -p <int> RF power */
i = sscanf(optarg, "%i", &xi);
- if ((i != 1) || (xi < 0) || (xi > 20)) {
+ if ((i != 1) || (xi < 0) || (xi > 30)) {
MSG("ERROR: invalid RF power\n");
return EXIT_FAILURE;
} else {