RevolutionPi / piControl

Kernel module for data exchange with RevPi I/O-Modules and Gateways
81 stars 24 forks source link

connect: Fix gpio assingment of x2do [REVPI-1949] #60

Closed nbuchwitz closed 2 years ago

nbuchwitz commented 2 years ago

The gpio of x2do (relay) was erroneously assigned to x2di. As a result neigher x2di nor x2do worked on RevPi Connect.

Fiixes 7877a9921cd2edaa04784b4bc86478b2c287b154

Signed-off-by: Nicolai Buchwitz n.buchwitz@kunbus.com

linosanfilippo-kunbus commented 2 years ago

Actually this has been introduce with 843672cea245. The code was correct before but then with that commit a stupid copy and past error was introduced when changing from gpiod_get() to devm_gpiod_get_index(). So please correct the "Fixes" line.

nbuchwitz commented 2 years ago

@linosanfilippo-kunbus I updated the commit message as suggested

nbuchwitz commented 2 years ago

Nun aber :-)