1
0
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:
Marian Buschsieweke 2023-05-19 21:58:14 +02:00
parent 57555ca849
commit bc1c831d39
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -141,7 +141,7 @@ int pcf857x_init(pcf857x_t *dev, const pcf857x_params_t *params)
_release(dev);
return PCF857X_OK;
return res;
}
int pcf857x_gpio_init(pcf857x_t *dev, gpio_t pin, gpio_mode_t mode)