mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-03-28 17:43:06 +01:00
Fix casing for Zebra configuration and add use_dio2_rf setting
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
"tx_power": 22,
|
||||
"preamble_length": 17
|
||||
},
|
||||
"meshadv": {
|
||||
"meshadv": {
|
||||
"name": "MeshAdv",
|
||||
"bus_id": 0,
|
||||
"cs_id": 0,
|
||||
@@ -94,7 +94,7 @@
|
||||
"use_dio3_tcxo": true,
|
||||
"preamble_length": 17
|
||||
},
|
||||
"Zebra": {
|
||||
"zebra": {
|
||||
"name": "ZebraHat-1W",
|
||||
"bus_id": 0,
|
||||
"cs_id": 0,
|
||||
|
||||
@@ -224,6 +224,7 @@ def get_radio_for_board(board_config: dict):
|
||||
"txled_pin": spi_config.get("txled_pin", -1),
|
||||
"rxled_pin": spi_config.get("rxled_pin", -1),
|
||||
"use_dio3_tcxo": spi_config.get("use_dio3_tcxo", False),
|
||||
"use_dio2_rf": spi_config.get("use_dio2_rf", False),
|
||||
"is_waveshare": spi_config.get("is_waveshare", False),
|
||||
"frequency": int(radio_config["frequency"]),
|
||||
"tx_power": radio_config["tx_power"],
|
||||
|
||||
Reference in New Issue
Block a user