analog: fix for ODROID-C5

Change-Id: Iedb1b5f7fbfedc60d42fc1a28eaa7e49879d6404
This commit is contained in:
2025-06-05 17:08:15 +09:00
parent eb6a5a9ca0
commit 35eb38bfde
2 changed files with 42 additions and 8 deletions

View File

@@ -20,6 +20,8 @@ void gpio_in_reset(struct gpio_in g, int8_t pull_up);
uint8_t gpio_in_read(struct gpio_in g);
struct gpio_adc {
int scale;
int offset;
int fd;
};
struct gpio_adc gpio_adc_setup(uint32_t pin);