Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102647327
D42577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D42577.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42577: libgpio: Fix type mismatch for gpio_pin_[gs]et
Attached
Detach File
Event Timeline
Log In to Comment