controller_fan: Allow multiple controller_fan sections to be defined

It may be necessary to define multiple fans, so allow each config
section to be named.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-03-10 13:57:01 -04:00
parent 19c7955f2a
commit d3f6dad853
4 changed files with 10 additions and 3 deletions

View file

@ -129,6 +129,9 @@ resistance3: 3000
sensor_type: my_custom_resistance_adc
sensor_pin: analog5
[controller_fan test_controller_fan]
pin: ar17
[mcu]
serial: /dev/ttyACM0
pin_map: arduino