Skip to content

Commit

Permalink
lib: lte_link_control: cereg: use macro instead of hardcoded
Browse files Browse the repository at this point in the history
Use the proper macro instead of a hardcoded string.

Signed-off-by: Mirko Covizzi <[email protected]>
  • Loading branch information
MirkoCovizzi committed Oct 23, 2024
1 parent 0a6f6f0 commit a43c8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lte_link_control/modules/cereg.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ int cereg_status_get(enum lte_lc_nw_reg_status *status)
}

/* Read network registration status */
err = nrf_modem_at_scanf("AT+CEREG?",
err = nrf_modem_at_scanf(AT_CEREG_READ,
"+CEREG: "
"%*u," /* <n> */
"%hu," /* <stat> */
Expand Down

0 comments on commit a43c8f3

Please sign in to comment.