Commit 7e72e679 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes bug with raspberry_pi_i2c name

Showing with 1 addition and 1 deletion
+1 -1
......@@ -10,7 +10,7 @@ import time
import numpy as np
import os
from OhmPi.hardware_components import TxAbstract, RxAbstract
controller_name = HARDWARE_CONFIG['controller'].pop('board_name', 'raspberry_pi')
controller_name = HARDWARE_CONFIG['controller'].pop('board_name', 'raspberry_pi_i2c')
controller_module = importlib.import_module(f'OhmPi.hardware_components.{controller_name}')
TX_CONFIG = HARDWARE_CONFIG['tx']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment