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
2026-03-07 14:55:14 +01:00
committed by Wessel Nieboer
parent b47b85773d
commit f6338430f8
3 changed files with 40 additions and 11 deletions

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`.
```