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:
parent
1200fce75c
commit
5fee1b17d5
@ -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') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user