1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

snr define was deleted by mistake

This commit is contained in:
rjkm 2022-02-12 15:09:36 +01:00
parent 1b49bfb8f1
commit e0fd8a0f35

View File

@ -3627,6 +3627,7 @@ static ssize_t snr_show(struct device *device,
struct device_attribute *attr, char *buf)
{
struct ddb *dev = dev_get_drvdata(device);
char snr[32];
int num = attr->attr.name[3] - 0x30;
struct ddb_port *port = &dev->port[num];
struct i2c_adapter *i2c = &port->i2c->adap;