Commit 905118c4 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

dev/gpio: wb_gpio_create returns int not pointer

parent e42de625
Pipeline #295 failed with stages
in 10 seconds
......@@ -72,7 +72,7 @@ int wb_gpio_create( struct gpio_device *device, uint32_t base_addr )
device->set_out = wb_gpio_out;
device->read_pin = wb_gpio_in;
return device;
return 1;
};
void gen_gpio_set_dir(const struct gpio_pin *pin, int dir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment