mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-13 21:31:18 +02:00
Force validation of path_hash_mode
This commit is contained in:
@@ -43,7 +43,10 @@ class RadioConfigUpdate(BaseModel):
|
||||
tx_power: int | None = Field(default=None, description="Transmit power in dBm")
|
||||
radio: RadioSettings | None = None
|
||||
path_hash_mode: int | None = Field(
|
||||
default=None, description="Path hash mode (0=1-byte, 1=2-byte, 2=3-byte)"
|
||||
default=None,
|
||||
ge=0,
|
||||
le=2,
|
||||
description="Path hash mode (0=1-byte, 1=2-byte, 2=3-byte)",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user