From e0e3a637e92dbe3c7700cc541410ff19b3b0c80c Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 21 Apr 2021 12:44:30 +0800 Subject: [PATCH] update iotd hal functions --- 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