drivers: gnss: fix setting of baudrate
ubx_m10_init_pipe is calling modem_backend_uart_init which in turn is memsetting the backend data structure and thus also overwrites the work queue function pointer in it. Remove call to ubx_m10_init_pipe as data structures are already set up. Tested with u-blox NEO M9N. Signed-off-by: Andreas Klinger <ak@it-klinger.de>
This commit is contained in:
parent
03f1dd413d
commit
8d8fe9d169
1 changed files with 0 additions and 1 deletions
|
|
@ -398,7 +398,6 @@ static int ubx_m10_set_uart_baudrate(const struct device *dev, uint32_t baudrate
|
|||
}
|
||||
|
||||
reset_and_unlock:
|
||||
ubx_m10_init_pipe(dev);
|
||||
ret |= ubx_m10_resume(dev);
|
||||
if (ret < 0) {
|
||||
goto unlock;
|
||||
|
|
|
|||
Loading…
Reference in a new issue