Skip to content

Commit

Permalink
greenhills: fix the ioexpander/gpio.h build warning
Browse files Browse the repository at this point in the history
CC:  mm_heap/mm_brkaddr.c "/home/guoshichao/work_profile/vela_os/vela_car_4/nuttx/include/nuttx/ioexpander/gpio.h", line 159: warning apache#381-D:
          extra ";" ignored
    uint8_t gp_pintype;  /* See enum gpio_pintype_e */;
                                                      ^

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
  • Loading branch information
guoshichao authored and xiaoxiang781216 committed Aug 24, 2024
1 parent a06c97d commit dd7ecd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/ioexpander/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct gpio_dev_s
* driver when gpio_pin_register() is called.
*/

uint8_t gp_pintype; /* See enum gpio_pintype_e */;
uint8_t gp_pintype; /* See enum gpio_pintype_e */

/* Writable storage used by the upper half driver */

Expand Down

0 comments on commit dd7ecd9

Please sign in to comment.