File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libtock-sync/peripherals/syscalls Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11#include "gpio_async_syscalls.h"
22
3- yield_waitfor_return_t libtocksync_gpio_async_yield_wait_for_generic_command (void ) {
3+ returncode_t libtocksync_gpio_async_yield_wait_for_generic_command (void ) {
44 yield_waitfor_return_t ret ;
55 ret = yield_wait_for (DRIVER_NUM_GPIO_ASYNC , 0 );
66
77 return (returncode_t ) ret .data0 ;
88}
99
10- yield_waitfor_return_t libtocksync_gpio_async_yield_wait_for_read (bool * value ) {
10+ returncode_t libtocksync_gpio_async_yield_wait_for_read (bool * value ) {
1111 yield_waitfor_return_t ywf ;
1212 returncode_t ret ;
1313
@@ -17,4 +17,5 @@ yield_waitfor_return_t libtocksync_gpio_async_yield_wait_for_read(bool* value) {
1717 if (ret != RETURNCODE_SUCCESS ) return ret ;
1818
1919 * value = (bool ) ywf .data1 ;
20+ return ret ;
2021}
You can’t perform that action at this time.
0 commit comments