From a01524eb28cce72db4b499ec242995fbf99b6b7a Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 21 Apr 2021 00:11:27 +0800 Subject: [PATCH] update iotd main.c --- iotd/hal/gpio.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iotd/hal/gpio.h b/iotd/hal/gpio.h index eddba34..d1a2a23 100644 --- a/iotd/hal/gpio.h +++ b/iotd/hal/gpio.h @@ -25,7 +25,7 @@ typedef struct gpio_info_s { char name[32]; /* GPIO connected module name */ - int pins; /* GPIO BCM pin number */ + int pin; /* GPIO BCM pin number */ int active_level; /* active power level */ struct gpiod_line *lines; /* gpiod lines */ } gpio_info_t; -- Gitblit v1.9.1