Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update type_map in printConfig to include float types for better conf…
…iguration handling
  • Loading branch information
Samith-NM committed Jul 3, 2026
commit ca3ed9f5b1d1f78651d9d2ad86ac5cc2f4b2a7d0
2 changes: 1 addition & 1 deletion meshtastic/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ def setSimpleConfig(modem_preset):
def printConfig(config) -> None:
"""print configuration"""
objDesc = config.DESCRIPTOR
type_map = {5: "int", 8: "bool", 9: "str", 13: "int", 14: "enum"}
type_map = {1:"float",2:"float",5: "int", 8: "bool", 9: "str", 13: "int", 14: "enum"}
descriptions = {
"display.flip_screen": "orientation of oled screen",
"display.gps_format": "format of lat, lon coordinates"
Expand Down