mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/pcf857x: fix error handling
This fixes a typo/copy paste error in the error handling.
This commit is contained in:
parent
57555ca849
commit
bc1c831d39
@ -141,7 +141,7 @@ int pcf857x_init(pcf857x_t *dev, const pcf857x_params_t *params)
|
|||||||
|
|
||||||
_release(dev);
|
_release(dev);
|
||||||
|
|
||||||
return PCF857X_OK;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pcf857x_gpio_init(pcf857x_t *dev, gpio_t pin, gpio_mode_t mode)
|
int pcf857x_gpio_init(pcf857x_t *dev, gpio_t pin, gpio_mode_t mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user