Add get/set dutycycle command

We translate to af internally, it's easier to store and doesn't break
stored prefs. Made get/set af command show deprecated, but it still
works fine.
This commit is contained in:
Wessel Nieboer authored and Wessel Nieboer committed 2026-03-09 13:43:17 +01:00
1 parent 38d41112de
commit 3d792e7bb1
3 files changed
+40 -11

No files matched your search

+4 -2
View File
@@ -28,9 +28,11 @@ set lon {longitude}
Sets your advertisement map longitude. (decimal degrees)
```
set af {air-time-factor}
set dutycycle {percent}
```
Sets the transmit air-time-factor.
Sets the transmit duty cycle limit (10-100%). Example: `set dutycycle 10` for 10%.
> **Deprecated:** `set af` still works but is deprecated in favour of `set dutycycle`.
```