mirror of
https://github.com/AkitaEngineering/Akita-Meshtastic-Meshcore-Bridge.git
synced 2026-07-05 01:11:20 +02:00
3cf9ea5d22
- Updated test_protocol.py to maintain consistent formatting and structure. - Adjusted tmp_no_default.ini to use consistent line endings. - Reformatted tmp_run_load.py and tmp_test_config.py for improved readability.
9 lines
234 B
Python
9 lines
234 B
Python
from ammb import config_handler
|
|
|
|
path = "tmp_no_default.ini"
|
|
with open(path, "w") as f:
|
|
f.write("[serial]\nSERIAL_PORT=/dev/ttyS1\n")
|
|
print("Using file:", path)
|
|
cfg = config_handler.load_config(path)
|
|
print("Result:", cfg)
|