Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Fix for uGnssPosGetStreamedStart: do not release NULL mutex
Browse files Browse the repository at this point in the history
Signed-off-by: Alon Bar-Lev <[email protected]>
  • Loading branch information
alonbl authored and RobMeades committed Oct 31, 2023
1 parent 10d4cbf commit 09ce57b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnss/src/u_gnss_pos.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,9 @@ int32_t uGnssPosGetStreamedStart(uDeviceHandle_t gnssHandle,
pInstance->printUbxMessages = temp;
}
}
}

U_PORT_MUTEX_UNLOCK(gUGnssPrivateMutex);
U_PORT_MUTEX_UNLOCK(gUGnssPrivateMutex);
}

return errorCode;
}
Expand Down

0 comments on commit 09ce57b

Please sign in to comment.