Skip to content

Commit

Permalink
drivers: gnss: Fix typo in __ASSERT statement
Browse files Browse the repository at this point in the history
str is being checking the __ASSERT where nano should be being checked

Signed-off-by: MD Peace <michael@whgsolutions.team>
  • Loading branch information
michael-whg committed Nov 15, 2023
1 parent 56f73bd commit 7c74206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gnss/gnss_parse.c
Expand Up @@ -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') {
Expand Down

0 comments on commit 7c74206

Please sign in to comment.