Skip to content

Commit

Permalink
doc: Minor updates to Modem library
Browse files Browse the repository at this point in the history
Minor fixes to the following pages:
* nrf_modem/doc/at_interface.rst
* nrf_modem/doc/gnss_interface.rst

TECHDOC-3122 and TECHDOC-3107

Signed-off-by: divya pillai <[email protected]>
  • Loading branch information
divipillai committed Nov 19, 2024
1 parent 4f3ed25 commit 6d69b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 6d69b6b

Please sign in to comment.