From 0fa05ec9d808e1872a1c7d75bffeaa3114a3be61 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 21 Apr 2021 16:22:53 +0800 Subject: [PATCH] Publisher test ok in iotd --- iotd/hal/gpio.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iotd/hal/gpio.h b/iotd/hal/gpio.h index d1a2a23..2a12d84 100644 --- a/iotd/hal/gpio.h +++ b/iotd/hal/gpio.h @@ -25,9 +25,9 @@ typedef struct gpio_info_s { char name[32]; /* GPIO connected module name */ - int pin; /* GPIO BCM pin number */ + int pin; /* GPIO BCM pin number */ int active_level; /* active power level */ - struct gpiod_line *lines; /* gpiod lines */ + struct gpiod_line *line; /* gpiod line */ } gpio_info_t; -- Gitblit v1.9.1