Page MenuHomeFreeBSD

D42577.diff
No OneTemporary

D42577.diff

diff --git a/lib/libgpio/libgpio.h b/lib/libgpio/libgpio.h
--- a/lib/libgpio/libgpio.h
+++ b/lib/libgpio/libgpio.h
@@ -81,8 +81,8 @@
/*
* GPIO pin values.
*/
-int gpio_pin_get(gpio_handle_t, gpio_pin_t);
-int gpio_pin_set(gpio_handle_t, gpio_pin_t, int);
+gpio_value_t gpio_pin_get(gpio_handle_t, gpio_pin_t);
+int gpio_pin_set(gpio_handle_t, gpio_pin_t, gpio_value_t);
int gpio_pin_toggle(gpio_handle_t, gpio_pin_t);
/*
* Helper functions to set pin states.

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 7:32 AM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14655258
Default Alt Text
D42577.diff (473 B)

Event Timeline