1.1 --- a/pkg/devices/lib/gpio/include/gpio.h Sat Apr 27 23:46:28 2024 +0200
1.2 +++ b/pkg/devices/lib/gpio/include/gpio.h Sun Apr 28 18:37:08 2024 +0200
1.3 @@ -2,7 +2,7 @@
1.4 * GPIO driver definitions.
1.5 * (See below for additional copyright and licensing notices.)
1.6 *
1.7 - * Copyright (C) 2017, 2018, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2017, 2018, 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -31,6 +31,12 @@
1.13 #pragma once
1.14
1.15 #include <l4/vbus/vbus_gpio.h>
1.16 +#include <stdint.h>
1.17 +
1.18 +struct gpio_port
1.19 +{
1.20 + uint32_t pull_ups, pull_downs;
1.21 +};
1.22
1.23 typedef struct Pin_slice
1.24 {