Skip to content

Commit

Permalink
fix: injected conf for sx1302
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinmarnold committed Oct 22, 2021
1 parent d0d11aa commit 4ff56f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pktfwd/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def replace_sx1302_global_conf_with_regional(sx1302_region_configs_dir,
new_global_conf = json.load(region_config_file)

# Inject SPI Bus
new_global_conf['SX130x_conf']['com_dir'] = "/dev/%s" % spi_bus
new_global_conf['SX130x_conf']['com_path'] = "/dev/%s" % spi_bus

with open(global_config_filepath, 'w') as global_config_file:
json.dump(new_global_conf, global_config_file)
Expand Down

0 comments on commit 4ff56f9

Please sign in to comment.