drivers: gnss: Fix typo in __ASSERT statement

str is being checking the __ASSERT where nano should be being checked

Signed-off-by: MD Peace <michael@whgsolutions.team>
This commit is contained in:
MD Peace 2023-11-15 11:52:09 +11:00 committed by Fabio Baltieri
parent 1200fce75c
commit 5fee1b17d5

View File

@ -26,7 +26,7 @@ int gnss_parse_dec_to_nano(const char *str, int64_t *nano)
int64_t increment;
__ASSERT(str != NULL, "str argument must be provided");
__ASSERT(str != NULL, "nano argument must be provided");
__ASSERT(nano != NULL, "nano argument must be provided");
/* Find decimal */
while (str[pos] != '\0') {