drivers: gnss: quectel_lcx6g: return actual error code in get_fix_rate
Return actual error code instead of hard-coded zero. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
d1673df9cd
commit
e7d6a40282
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ static int quectel_lcx6g_get_fix_rate(const struct device *dev, uint32_t *fix_in
|
||||||
|
|
||||||
unlock_return:
|
unlock_return:
|
||||||
quectel_lcx6g_unlock(dev);
|
quectel_lcx6g_unlock(dev);
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int quectel_lcx6g_set_navigation_mode(const struct device *dev,
|
static int quectel_lcx6g_set_navigation_mode(const struct device *dev,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue