Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nrf_modem/doc/at_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following snippet shows how to use :c:func:`nrf_modem_at_printf` to send a f
int err;

err = nrf_modem_at_printf("AT+CFUN=%d", mode);
if (err = 0) {
if (err == 0) {
/* OK, success */
} else if (err < 0) {
/* Failed to send command, err is an nrf_errno */
Expand Down
4 changes: 2 additions & 2 deletions nrf_modem/doc/gnss_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ System mask
===========

System mask controls which GNSSs are enabled.
The system mask is set using the :c:func:`nrf_modem_gnss_system_mask_set` function by providing a bitmap of the selected systems.
The system mask is set using the :c:func:`nrf_modem_gnss_signal_mask_set` function by providing a bitmap of the selected systems.

By default, all supported GNSSs are enabled.

Expand All @@ -181,7 +181,7 @@ GPS cannot be disabled and it remains enabled even if the corresponding bit is n

system_mask = NRF_MODEM_GNSS_SYSTEM_GPS_MASK | NRF_MODEM_GNSS_SYSTEM_QZSS_MASK;

err = nrf_modem_gnss_system_mask_set(system_mask);
err = nrf_modem_gnss_signal_mask_set(system_mask);

Satellite elevation threshold
=============================
Expand Down
Loading